Class CreateGlobalSecondaryIndexAction

    • Constructor Detail

      • CreateGlobalSecondaryIndexAction

        public CreateGlobalSecondaryIndexAction()
    • Method Detail

      • setIndexName

        public void setIndexName​(String indexName)

        The name of the global secondary index to be created.

        Parameters:
        indexName - The name of the global secondary index to be created.
      • getIndexName

        public String getIndexName()

        The name of the global secondary index to be created.

        Returns:
        The name of the global secondary index to be created.
      • withIndexName

        public CreateGlobalSecondaryIndexAction withIndexName​(String indexName)

        The name of the global secondary index to be created.

        Parameters:
        indexName - The name of the global secondary index to be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getKeySchema

        public List<KeySchemaElement> getKeySchema()

        The key schema for the global secondary index.

        Returns:
        The key schema for the global secondary index.
      • setKeySchema

        public void setKeySchema​(Collection<KeySchemaElement> keySchema)

        The key schema for the global secondary index.

        Parameters:
        keySchema - The key schema for the global secondary index.
      • withKeySchema

        public CreateGlobalSecondaryIndexAction withKeySchema​(Collection<KeySchemaElement> keySchema)

        The key schema for the global secondary index.

        Parameters:
        keySchema - The key schema for the global secondary index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProjection

        public void setProjection​(Projection projection)
        Parameters:
        projection -
      • getProjection

        public Projection getProjection()
        Returns:
      • withProjection

        public CreateGlobalSecondaryIndexAction withProjection​(Projection projection)
        Parameters:
        projection -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProvisionedThroughput

        public void setProvisionedThroughput​(ProvisionedThroughput provisionedThroughput)
        Parameters:
        provisionedThroughput -
      • withProvisionedThroughput

        public CreateGlobalSecondaryIndexAction withProvisionedThroughput​(ProvisionedThroughput provisionedThroughput)
        Parameters:
        provisionedThroughput -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object