Package com.pulumi.aws.dynamodb.inputs
Class GlobalSecondaryIndexState.Builder
- java.lang.Object
-
- com.pulumi.aws.dynamodb.inputs.GlobalSecondaryIndexState.Builder
-
- Enclosing class:
- GlobalSecondaryIndexState
public static final class GlobalSecondaryIndexState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GlobalSecondaryIndexState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GlobalSecondaryIndexState defaults)
-
-
Method Detail
-
arn
public GlobalSecondaryIndexState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the GSI.- Returns:
- builder
-
arn
public GlobalSecondaryIndexState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the GSI.- Returns:
- builder
-
indexName
public GlobalSecondaryIndexState.Builder indexName(@Nullable com.pulumi.core.Output<java.lang.String> indexName)
- Parameters:
indexName- Name of the index.- Returns:
- builder
-
indexName
public GlobalSecondaryIndexState.Builder indexName(java.lang.String indexName)
- Parameters:
indexName- Name of the index.- Returns:
- builder
-
keySchemas
public GlobalSecondaryIndexState.Builder keySchemas(@Nullable com.pulumi.core.Output<java.util.List<GlobalSecondaryIndexKeySchemaArgs>> keySchemas)
- Parameters:
keySchemas- Set of nested attribute definitions. At least 1 element defining a `HASH` is required. All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`. Changing any values in `keySchema` will re-create the resource. See `keySchema` below.- Returns:
- builder
-
keySchemas
public GlobalSecondaryIndexState.Builder keySchemas(java.util.List<GlobalSecondaryIndexKeySchemaArgs> keySchemas)
- Parameters:
keySchemas- Set of nested attribute definitions. At least 1 element defining a `HASH` is required. All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`. Changing any values in `keySchema` will re-create the resource. See `keySchema` below.- Returns:
- builder
-
keySchemas
public GlobalSecondaryIndexState.Builder keySchemas(GlobalSecondaryIndexKeySchemaArgs... keySchemas)
- Parameters:
keySchemas- Set of nested attribute definitions. At least 1 element defining a `HASH` is required. All elements with the `keyType` of `HASH` must precede elements with `keyType` of `RANGE`. Changing any values in `keySchema` will re-create the resource. See `keySchema` below.- Returns:
- builder
-
onDemandThroughput
public GlobalSecondaryIndexState.Builder onDemandThroughput(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexOnDemandThroughputArgs> onDemandThroughput)
- Parameters:
onDemandThroughput- Sets the maximum number of read and write units for the index. See `onDemandThroughput` below. Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.- Returns:
- builder
-
onDemandThroughput
public GlobalSecondaryIndexState.Builder onDemandThroughput(GlobalSecondaryIndexOnDemandThroughputArgs onDemandThroughput)
- Parameters:
onDemandThroughput- Sets the maximum number of read and write units for the index. See `onDemandThroughput` below. Only valid if the table's `billingMode` is `PAY_PER_REQUEST`.- Returns:
- builder
-
projection
public GlobalSecondaryIndexState.Builder projection(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexProjectionArgs> projection)
- Parameters:
projection- Describes which attributes from the table are represented in the index. See `projection` below.- Returns:
- builder
-
projection
public GlobalSecondaryIndexState.Builder projection(GlobalSecondaryIndexProjectionArgs projection)
- Parameters:
projection- Describes which attributes from the table are represented in the index. See `projection` below.- Returns:
- builder
-
provisionedThroughput
public GlobalSecondaryIndexState.Builder provisionedThroughput(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexProvisionedThroughputArgs> provisionedThroughput)
- Parameters:
provisionedThroughput- Provisioned throughput for the index. See `provisionedThroughput` below. Required if the table's `billingMode` is `PROVISIONED`.- Returns:
- builder
-
provisionedThroughput
public GlobalSecondaryIndexState.Builder provisionedThroughput(GlobalSecondaryIndexProvisionedThroughputArgs provisionedThroughput)
- Parameters:
provisionedThroughput- Provisioned throughput for the index. See `provisionedThroughput` below. Required if the table's `billingMode` is `PROVISIONED`.- Returns:
- builder
-
region
public GlobalSecondaryIndexState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public GlobalSecondaryIndexState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tableName
public GlobalSecondaryIndexState.Builder tableName(@Nullable com.pulumi.core.Output<java.lang.String> tableName)
- Parameters:
tableName- Name of the table this index belongs to. The following arguments are optional:- Returns:
- builder
-
tableName
public GlobalSecondaryIndexState.Builder tableName(java.lang.String tableName)
- Parameters:
tableName- Name of the table this index belongs to. The following arguments are optional:- Returns:
- builder
-
timeouts
public GlobalSecondaryIndexState.Builder timeouts(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexTimeoutsArgs> timeouts)
-
timeouts
public GlobalSecondaryIndexState.Builder timeouts(GlobalSecondaryIndexTimeoutsArgs timeouts)
-
warmThroughput
public GlobalSecondaryIndexState.Builder warmThroughput(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexWarmThroughputArgs> warmThroughput)
- Parameters:
warmThroughput- Sets the number of warm read and write units for this index. See `warmThroughput` below.- Returns:
- builder
-
warmThroughput
public GlobalSecondaryIndexState.Builder warmThroughput(GlobalSecondaryIndexWarmThroughputArgs warmThroughput)
- Parameters:
warmThroughput- Sets the number of warm read and write units for this index. See `warmThroughput` below.- Returns:
- builder
-
build
public GlobalSecondaryIndexState build()
-
-