Interface CreateGlobalTableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGlobalTableResponse.Builder,,CreateGlobalTableResponse> DynamoDbResponse.Builder,SdkBuilder<CreateGlobalTableResponse.Builder,,CreateGlobalTableResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGlobalTableResponse
public static interface CreateGlobalTableResponse.Builder
extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<CreateGlobalTableResponse.Builder,CreateGlobalTableResponse>
-
Method Summary
Modifier and TypeMethodDescriptionglobalTableDescription(Consumer<GlobalTableDescription.Builder> globalTableDescription) Contains the details of the global table.globalTableDescription(GlobalTableDescription globalTableDescription) Contains the details of the global table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
globalTableDescription
CreateGlobalTableResponse.Builder globalTableDescription(GlobalTableDescription globalTableDescription) Contains the details of the global table.
- Parameters:
globalTableDescription- Contains the details of the global table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalTableDescription
default CreateGlobalTableResponse.Builder globalTableDescription(Consumer<GlobalTableDescription.Builder> globalTableDescription) Contains the details of the global table.
This is a convenience method that creates an instance of theGlobalTableDescription.Builderavoiding the need to create one manually viaGlobalTableDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toglobalTableDescription(GlobalTableDescription).- Parameters:
globalTableDescription- a consumer that will call methods onGlobalTableDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-