Package com.pulumi.aws.dynamodb
Class GlobalSecondaryIndexArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.dynamodb.GlobalSecondaryIndexArgs.Builder
-
- Enclosing class:
- GlobalSecondaryIndexArgs
public static final class GlobalSecondaryIndexArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GlobalSecondaryIndexArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GlobalSecondaryIndexArgs defaults)
-
-
Method Detail
-
indexName
public GlobalSecondaryIndexArgs.Builder indexName(com.pulumi.core.Output<java.lang.String> indexName)
- Parameters:
indexName- Name of the index.- Returns:
- builder
-
indexName
public GlobalSecondaryIndexArgs.Builder indexName(java.lang.String indexName)
- Parameters:
indexName- Name of the index.- Returns:
- builder
-
keySchemas
public GlobalSecondaryIndexArgs.Builder keySchemas(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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.Builder projection(GlobalSecondaryIndexProjectionArgs projection)
- Parameters:
projection- Describes which attributes from the table are represented in the index. See `projection` below.- Returns:
- builder
-
provisionedThroughput
public GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.Builder tableName(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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.Builder timeouts(@Nullable com.pulumi.core.Output<GlobalSecondaryIndexTimeoutsArgs> timeouts)
-
timeouts
public GlobalSecondaryIndexArgs.Builder timeouts(GlobalSecondaryIndexTimeoutsArgs timeouts)
-
warmThroughput
public GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs.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 GlobalSecondaryIndexArgs build()
-
-