Interface UpdateDataTablePrimaryValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<UpdateDataTablePrimaryValuesResponse.Builder,,UpdateDataTablePrimaryValuesResponse> SdkBuilder<UpdateDataTablePrimaryValuesResponse.Builder,,UpdateDataTablePrimaryValuesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateDataTablePrimaryValuesResponse
@Mutable
@NotThreadSafe
public static interface UpdateDataTablePrimaryValuesResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateDataTablePrimaryValuesResponse.Builder,UpdateDataTablePrimaryValuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The updated lock version information for the data table and affected components after the primary values change.lockVersion(DataTableLockVersion lockVersion) The updated lock version information for the data table and affected components after the primary values change.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
-
lockVersion
The updated lock version information for the data table and affected components after the primary values change.
- Parameters:
lockVersion- The updated lock version information for the data table and affected components after the primary values change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockVersion
default UpdateDataTablePrimaryValuesResponse.Builder lockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The updated lock version information for the data table and affected components after the primary values change.
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:
-