Interface TableVersionError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TableVersionError.Builder,,TableVersionError> SdkBuilder<TableVersionError.Builder,,TableVersionError> SdkPojo
- Enclosing class:
TableVersionError
@Mutable
@NotThreadSafe
public static interface TableVersionError.Builder
extends SdkPojo, CopyableBuilder<TableVersionError.Builder,TableVersionError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TableVersionError.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail) The details about the error.errorDetail(ErrorDetail errorDetail) The details about the error.The name of the table in question.The ID value of the version in question.Methods 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, sdkFields
-
Method Details
-
tableName
The name of the table in question.
- Parameters:
tableName- The name of the table in question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versionId
The ID value of the version in question. A
VersionIDis a string representation of an integer. Each version is incremented by 1.- Parameters:
versionId- The ID value of the version in question. AVersionIDis a string representation of an integer. Each version is incremented by 1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
The details about the error.
- Parameters:
errorDetail- The details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
The details about the error.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDetail(ErrorDetail).- Parameters:
errorDetail- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-