public static interface ImageFailure.Builder extends CopyableBuilder<ImageFailure.Builder,ImageFailure>
| Modifier and Type | Method and Description |
|---|---|
ImageFailure.Builder |
failureCode(ImageFailureCode failureCode)
The code associated with the failure.
|
ImageFailure.Builder |
failureCode(String failureCode)
The code associated with the failure.
|
ImageFailure.Builder |
failureReason(String failureReason)
The reason for the failure.
|
default ImageFailure.Builder |
imageId(Consumer<ImageIdentifier.Builder> imageId)
The image ID associated with the failure.
|
ImageFailure.Builder |
imageId(ImageIdentifier imageId)
The image ID associated with the failure.
|
copyapply, buildImageFailure.Builder imageId(ImageIdentifier imageId)
The image ID associated with the failure.
imageId - The image ID associated with the failure.default ImageFailure.Builder imageId(Consumer<ImageIdentifier.Builder> imageId)
The image ID associated with the failure.
This is a convenience that creates an instance of theImageIdentifier.Builder avoiding the need to
create one manually via ImageIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to imageId(ImageIdentifier).imageId - a consumer that will call methods on ImageIdentifier.BuilderimageId(ImageIdentifier)ImageFailure.Builder failureCode(String failureCode)
The code associated with the failure.
failureCode - The code associated with the failure.ImageFailureCode,
ImageFailureCodeImageFailure.Builder failureCode(ImageFailureCode failureCode)
The code associated with the failure.
failureCode - The code associated with the failure.ImageFailureCode,
ImageFailureCodeImageFailure.Builder failureReason(String failureReason)
The reason for the failure.
failureReason - The reason for the failure.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.