Interface CreateDataTableAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<CreateDataTableAttributeResponse.Builder,,CreateDataTableAttributeResponse> SdkBuilder<CreateDataTableAttributeResponse.Builder,,CreateDataTableAttributeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateDataTableAttributeResponse
@Mutable
@NotThreadSafe
public static interface CreateDataTableAttributeResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<CreateDataTableAttributeResponse.Builder,CreateDataTableAttributeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionattributeId(String attributeId) The unique identifier assigned to the created attribute.lockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The lock version information for the data table and attribute, used for optimistic locking and versioning.lockVersion(DataTableLockVersion lockVersion) The lock version information for the data table and attribute, used for optimistic locking and versioning.The name of the created attribute since it also serves as the identifier.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
-
name
The name of the created attribute since it also serves as the identifier. This could be different than the parameter passed in since it will be trimmed for whitespace.
- Parameters:
name- The name of the created attribute since it also serves as the identifier. This could be different than the parameter passed in since it will be trimmed for whitespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeId
The unique identifier assigned to the created attribute.
- Parameters:
attributeId- The unique identifier assigned to the created attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockVersion
The lock version information for the data table and attribute, used for optimistic locking and versioning.
- Parameters:
lockVersion- The lock version information for the data table and attribute, used for optimistic locking and versioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lockVersion
default CreateDataTableAttributeResponse.Builder lockVersion(Consumer<DataTableLockVersion.Builder> lockVersion) The lock version information for the data table and attribute, used for optimistic locking and 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:
-