Interface CreateDataTableResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<CreateDataTableResponse.Builder,,CreateDataTableResponse> SdkBuilder<CreateDataTableResponse.Builder,,CreateDataTableResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDataTableResponse
@Mutable
@NotThreadSafe
public static interface CreateDataTableResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateDataTableResponse.Builder,CreateDataTableResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the created data table.The unique identifier for the created data table.default CreateDataTableResponse.BuilderlockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The lock version information for the created data table, used for optimistic locking and table versioning.lockVersion(DataTableLockVersion lockVersion) The lock version information for the created data table, used for optimistic locking and table versioning.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The unique identifier for the created data table. Does not include the version alias.
- Parameters:
id- The unique identifier for the created data table. Does not include the version alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) for the created data table. Does not include the version alias.
- Parameters:
arn- The Amazon Resource Name (ARN) for the created data table. Does not include the version alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockVersion
The lock version information for the created data table, used for optimistic locking and table versioning.
- Parameters:
lockVersion- The lock version information for the created data table, used for optimistic locking and table versioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockVersion
default CreateDataTableResponse.Builder lockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The lock version information for the created data table, used for optimistic locking and table versioning.
This is a convenience method that creates an instance of theDataTableLockVersion.Builderavoiding the need to create one manually viaDataTableLockVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolockVersion(DataTableLockVersion).- Parameters:
lockVersion- a consumer that will call methods onDataTableLockVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-