JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.dynamodbv2.model

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)

        Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

        Parameters:
        projection - Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
      • getProjection

        public Projection getProjection()

        Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

        Returns:
        Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
      • withProjection

        public CreateGlobalSecondaryIndexAction withProjection(Projection projection)

        Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

        Parameters:
        projection - Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setProvisionedThroughput

        public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)

        Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

        Parameters:
        provisionedThroughput - Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

      • getProvisionedThroughput

        public ProvisionedThroughput getProvisionedThroughput()

        Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

        Returns:
        Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

      • withProvisionedThroughput

        public CreateGlobalSecondaryIndexAction withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)

        Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

        Parameters:
        provisionedThroughput - Represents the provisioned throughput settings for the specified global secondary index.

        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOnDemandThroughput

        public void setOnDemandThroughput(OnDemandThroughput onDemandThroughput)

        The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

        Parameters:
        onDemandThroughput - The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
      • getOnDemandThroughput

        public OnDemandThroughput getOnDemandThroughput()

        The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

        Returns:
        The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
      • withOnDemandThroughput

        public CreateGlobalSecondaryIndexAction withOnDemandThroughput(OnDemandThroughput onDemandThroughput)

        The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

        Parameters:
        onDemandThroughput - The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /