Interface ImageFailure.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImageFailure.Builder,ImageFailure>,SdkBuilder<ImageFailure.Builder,ImageFailure>,SdkPojo
- Enclosing class:
- ImageFailure
public static interface ImageFailure.Builder extends SdkPojo, CopyableBuilder<ImageFailure.Builder,ImageFailure>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ImageFailure.BuilderfailureCode(String failureCode)The code that's associated with the failure.ImageFailure.BuilderfailureCode(ImageFailureCode failureCode)The code that's associated with the failure.ImageFailure.BuilderfailureReason(String failureReason)The reason for the failure.default ImageFailure.BuilderimageId(Consumer<ImageIdentifier.Builder> imageId)The image ID that's associated with the failure.ImageFailure.BuilderimageId(ImageIdentifier imageId)The image ID that's associated with the failure.-
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 Detail
-
imageId
ImageFailure.Builder imageId(ImageIdentifier 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
default ImageFailure.Builder imageId(Consumer<ImageIdentifier.Builder> 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:
imageId(ImageIdentifier)
-
failureCode
ImageFailure.Builder failureCode(String 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:
ImageFailureCode,ImageFailureCode
-
failureCode
ImageFailure.Builder failureCode(ImageFailureCode 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:
ImageFailureCode,ImageFailureCode
-
failureReason
ImageFailure.Builder failureReason(String 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.
-
-