Interface ImageFailureContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageFailureContext.Builder,,ImageFailureContext> SdkBuilder<ImageFailureContext.Builder,,ImageFailureContext> SdkPojo
- Enclosing class:
ImageFailureContext
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImageFailureContext.BuildercomponentFailure(Consumer<ComponentFailureContext.Builder> componentFailure) The details about the component that failed, if the failure occurred while a component was running.componentFailure(ComponentFailureContext componentFailure) The details about the component that failed, if the failure occurred while a component was running.default ImageFailureContext.BuilderdistributionFailure(Consumer<DistributionFailureContext.Builder> distributionFailure) The details about the distribution failure, if the failure occurred while Image Builder distributed or configured the image.distributionFailure(DistributionFailureContext distributionFailure) The details about the distribution failure, if the failure occurred while Image Builder distributed or configured the image.failedStep(String failedStep) The name of the workflow step that failed, as it appears in the workflow document.imageStatus(String imageStatus) The status that the image had when the failure occurred.imageStatus(ImageStatus imageStatus) The status that the image had when the failure occurred.stepExecutionId(String stepExecutionId) The unique identifier of the workflow step execution that failed.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow build version that was running when the image failed.workflowExecutionId(String workflowExecutionId) The unique identifier of the workflow execution that was running when the image failed.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
-
imageStatus
The status that the image had when the failure occurred. This indicates the stage of the image creation process where the image failed, for example
BUILDINGorDISTRIBUTING.- Parameters:
imageStatus- The status that the image had when the failure occurred. This indicates the stage of the image creation process where the image failed, for exampleBUILDINGorDISTRIBUTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
imageStatus
The status that the image had when the failure occurred. This indicates the stage of the image creation process where the image failed, for example
BUILDINGorDISTRIBUTING.- Parameters:
imageStatus- The status that the image had when the failure occurred. This indicates the stage of the image creation process where the image failed, for exampleBUILDINGorDISTRIBUTING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowExecutionId
The unique identifier of the workflow execution that was running when the image failed.
- Parameters:
workflowExecutionId- The unique identifier of the workflow execution that was running when the image failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowArn
The Amazon Resource Name (ARN) of the workflow build version that was running when the image failed.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow build version that was running when the image failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepExecutionId
The unique identifier of the workflow step execution that failed.
- Parameters:
stepExecutionId- The unique identifier of the workflow step execution that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedStep
The name of the workflow step that failed, as it appears in the workflow document.
- Parameters:
failedStep- The name of the workflow step that failed, as it appears in the workflow document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentFailure
The details about the component that failed, if the failure occurred while a component was running.
- Parameters:
componentFailure- The details about the component that failed, if the failure occurred while a component was running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentFailure
default ImageFailureContext.Builder componentFailure(Consumer<ComponentFailureContext.Builder> componentFailure) The details about the component that failed, if the failure occurred while a component was running.
This is a convenience method that creates an instance of theComponentFailureContext.Builderavoiding the need to create one manually viaComponentFailureContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocomponentFailure(ComponentFailureContext).- Parameters:
componentFailure- a consumer that will call methods onComponentFailureContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distributionFailure
The details about the distribution failure, if the failure occurred while Image Builder distributed or configured the image.
- Parameters:
distributionFailure- The details about the distribution failure, if the failure occurred while Image Builder distributed or configured the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distributionFailure
default ImageFailureContext.Builder distributionFailure(Consumer<DistributionFailureContext.Builder> distributionFailure) The details about the distribution failure, if the failure occurred while Image Builder distributed or configured the image.
This is a convenience method that creates an instance of theDistributionFailureContext.Builderavoiding the need to create one manually viaDistributionFailureContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todistributionFailure(DistributionFailureContext).- Parameters:
distributionFailure- a consumer that will call methods onDistributionFailureContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-