Interface SchemaVersionErrorItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchemaVersionErrorItem.Builder,
,SchemaVersionErrorItem> SdkBuilder<SchemaVersionErrorItem.Builder,
,SchemaVersionErrorItem> SdkPojo
- Enclosing class:
SchemaVersionErrorItem
public static interface SchemaVersionErrorItem.Builder
extends SdkPojo, CopyableBuilder<SchemaVersionErrorItem.Builder,SchemaVersionErrorItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SchemaVersionErrorItem.Builder
errorDetails
(Consumer<ErrorDetails.Builder> errorDetails) The details of the error for the schema version.errorDetails
(ErrorDetails errorDetails) The details of the error for the schema version.versionNumber
(Long versionNumber) The version number of the schema.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
versionNumber
The version number of the schema.
- Parameters:
versionNumber
- The version number of the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The details of the error for the schema version.
- Parameters:
errorDetails
- The details of the error for the schema version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The details of the error for the schema version.
This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-