Interface CreateTableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTableResponse.Builder,
,CreateTableResponse> DynamoDbResponse.Builder
,SdkBuilder<CreateTableResponse.Builder,
,CreateTableResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateTableResponse
public static interface CreateTableResponse.Builder
extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<CreateTableResponse.Builder,CreateTableResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTableResponse.Builder
tableDescription
(Consumer<TableDescription.Builder> tableDescription) Represents the properties of the table.tableDescription
(TableDescription tableDescription) Represents the properties of the table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
tableDescription
Represents the properties of the table.
- Parameters:
tableDescription
- Represents the properties of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableDescription
default CreateTableResponse.Builder tableDescription(Consumer<TableDescription.Builder> tableDescription) Represents the properties of the table.
This is a convenience method that creates an instance of theTableDescription.Builder
avoiding the need to create one manually viaTableDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totableDescription(TableDescription)
.- Parameters:
tableDescription
- a consumer that will call methods onTableDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-