Interface AssociateResourceError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssociateResourceError.Builder,AssociateResourceError>,SdkBuilder<AssociateResourceError.Builder,AssociateResourceError>,SdkPojo
- Enclosing class:
- AssociateResourceError
public static interface AssociateResourceError.Builder extends SdkPojo, CopyableBuilder<AssociateResourceError.Builder,AssociateResourceError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateResourceError.Buildermessage(String message)The reason why the resource association failed.AssociateResourceError.Builderreason(String reason)A static error code that's used to classify the type of failure.AssociateResourceError.Builderreason(AssociateResourceErrorReason reason)A static error code that's used to classify the type of 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
-
message
AssociateResourceError.Builder message(String message)
The reason why the resource association failed.
- Parameters:
message- The reason why the resource association failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
AssociateResourceError.Builder reason(String reason)
A static error code that's used to classify the type of failure.
- Parameters:
reason- A static error code that's used to classify the type of failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociateResourceErrorReason,AssociateResourceErrorReason
-
reason
AssociateResourceError.Builder reason(AssociateResourceErrorReason reason)
A static error code that's used to classify the type of failure.
- Parameters:
reason- A static error code that's used to classify the type of failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AssociateResourceErrorReason,AssociateResourceErrorReason
-
-