Interface ImageFailure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageFailure.Builder,,ImageFailure> SdkBuilder<ImageFailure.Builder,,ImageFailure> SdkPojo
- Enclosing class:
ImageFailure
@Mutable
@NotThreadSafe
public static interface ImageFailure.Builder
extends SdkPojo, CopyableBuilder<ImageFailure.Builder,ImageFailure>
-
Method Summary
Modifier and TypeMethodDescriptionfailureCode(String failureCode) The code that's associated with the failure.failureCode(ImageFailureCode failureCode) The code that's associated with the failure.failureReason(String failureReason) The reason for the failure.default ImageFailure.BuilderimageId(Consumer<ImageIdentifier.Builder> imageId) The image ID that's associated with the failure.imageId(ImageIdentifier imageId) The image ID that's associated with the failure.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
-
imageId
The image ID that's associated with the failure.
- Parameters:
imageId- The image ID that's associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
The image ID that's associated with the failure.
This is a convenience method that creates an instance of theImageIdentifier.Builderavoiding the need to create one manually viaImageIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimageId(ImageIdentifier).- Parameters:
imageId- a consumer that will call methods onImageIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The code that's associated with the failure.
- Parameters:
failureCode- The code that's associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The code that's associated with the failure.
- Parameters:
failureCode- The code that's associated with the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason for the failure.
- Parameters:
failureReason- The reason for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-