Interface GatewayResourceFailure.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayResourceFailure.Builder,,GatewayResourceFailure> SdkBuilder<GatewayResourceFailure.Builder,,GatewayResourceFailure> SdkPojo
- Enclosing class:
GatewayResourceFailure
@Mutable
@NotThreadSafe
public static interface GatewayResourceFailure.Builder
extends SdkPojo, CopyableBuilder<GatewayResourceFailure.Builder,GatewayResourceFailure>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource that failed to update, such as a load balancer ARN.errors(Collection<GatewayOperationError> errors) The errors that were encountered while operating on the resource.errors(Consumer<GatewayOperationError.Builder>... errors) The errors that were encountered while operating on the resource.errors(GatewayOperationError... errors) The errors that were encountered while operating on the resource.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
-
arn
The Amazon Resource Name (ARN) of the resource that failed to update, such as a load balancer ARN.
- Parameters:
arn- The Amazon Resource Name (ARN) of the resource that failed to update, such as a load balancer ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors that were encountered while operating on the resource.
- Parameters:
errors- The errors that were encountered while operating on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors that were encountered while operating on the resource.
- Parameters:
errors- The errors that were encountered while operating on the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors that were encountered while operating on the resource.
This is a convenience method that creates an instance of theGatewayOperationError.Builderavoiding the need to create one manually viaGatewayOperationError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<GatewayOperationError>).- Parameters:
errors- a consumer that will call methods onGatewayOperationError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-