Package com.pulumi.aws.dynamodb.inputs
Class TableLocalSecondaryIndexArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.dynamodb.inputs.TableLocalSecondaryIndexArgs.Builder
-
- Enclosing class:
- TableLocalSecondaryIndexArgs
public static final class TableLocalSecondaryIndexArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(TableLocalSecondaryIndexArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableLocalSecondaryIndexArgsbuild()TableLocalSecondaryIndexArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)TableLocalSecondaryIndexArgs.Buildername(java.lang.String name)TableLocalSecondaryIndexArgs.BuildernonKeyAttributes(com.pulumi.core.Output<java.util.List<java.lang.String>> nonKeyAttributes)TableLocalSecondaryIndexArgs.BuildernonKeyAttributes(java.lang.String... nonKeyAttributes)TableLocalSecondaryIndexArgs.BuildernonKeyAttributes(java.util.List<java.lang.String> nonKeyAttributes)TableLocalSecondaryIndexArgs.BuilderprojectionType(com.pulumi.core.Output<java.lang.String> projectionType)TableLocalSecondaryIndexArgs.BuilderprojectionType(java.lang.String projectionType)TableLocalSecondaryIndexArgs.BuilderrangeKey(com.pulumi.core.Output<java.lang.String> rangeKey)TableLocalSecondaryIndexArgs.BuilderrangeKey(java.lang.String rangeKey)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TableLocalSecondaryIndexArgs defaults)
-
-
Method Detail
-
name
public TableLocalSecondaryIndexArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the index- Returns:
- builder
-
name
public TableLocalSecondaryIndexArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the index- Returns:
- builder
-
nonKeyAttributes
public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> nonKeyAttributes)
- Parameters:
nonKeyAttributes- Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.- Returns:
- builder
-
nonKeyAttributes
public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes(java.util.List<java.lang.String> nonKeyAttributes)
- Parameters:
nonKeyAttributes- Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.- Returns:
- builder
-
nonKeyAttributes
public TableLocalSecondaryIndexArgs.Builder nonKeyAttributes(java.lang.String... nonKeyAttributes)
- Parameters:
nonKeyAttributes- Only required with `INCLUDE` as a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.- Returns:
- builder
-
projectionType
public TableLocalSecondaryIndexArgs.Builder projectionType(com.pulumi.core.Output<java.lang.String> projectionType)
- Parameters:
projectionType- One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.- Returns:
- builder
-
projectionType
public TableLocalSecondaryIndexArgs.Builder projectionType(java.lang.String projectionType)
- Parameters:
projectionType- One of `ALL`, `INCLUDE` or `KEYS_ONLY` where `ALL` projects every attribute into the index, `KEYS_ONLY` projects into the index only the table and index hashKey and sortKey attributes , `INCLUDE` projects into the index all of the attributes that are defined in `nonKeyAttributes` in addition to the attributes that that`KEYS_ONLY` project.- Returns:
- builder
-
rangeKey
public TableLocalSecondaryIndexArgs.Builder rangeKey(com.pulumi.core.Output<java.lang.String> rangeKey)
- Parameters:
rangeKey- Name of the range key.- Returns:
- builder
-
rangeKey
public TableLocalSecondaryIndexArgs.Builder rangeKey(java.lang.String rangeKey)
- Parameters:
rangeKey- Name of the range key.- Returns:
- builder
-
build
public TableLocalSecondaryIndexArgs build()
-
-