Class Index.Builder

  • Enclosing class:
    Index

    public static class Index.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public Index.Builder name​(String name)
        Index name.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • compartmentId

        public Index.Builder compartmentId​(String compartmentId)
        Compartment Identifier.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • tableName

        public Index.Builder tableName​(String tableName)
        The name of the table to which this index belongs.
        Parameters:
        tableName - the value to set
        Returns:
        this builder
      • tableId

        public Index.Builder tableId​(String tableId)
        the OCID of the table to which this index belongs.
        Parameters:
        tableId - the value to set
        Returns:
        this builder
      • keys

        public Index.Builder keys​(List<IndexKey> keys)
        A set of keys for a secondary index.
        Parameters:
        keys - the value to set
        Returns:
        this builder
      • lifecycleState

        public Index.Builder lifecycleState​(Index.LifecycleState lifecycleState)
        The state of an index.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Index.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • build

        public Index build()