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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SchemaVersionErrorItem.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)The details of the error for the schema version.SchemaVersionErrorItem.BuildererrorDetails(ErrorDetails errorDetails)The details of the error for the schema version.SchemaVersionErrorItem.BuilderversionNumber(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
versionNumber
SchemaVersionErrorItem.Builder versionNumber(Long 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
SchemaVersionErrorItem.Builder errorDetails(ErrorDetails 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
default SchemaVersionErrorItem.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
The details of the error for the schema version.
This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,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:
errorDetails(ErrorDetails)
-
-