Interface AttachmentError.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AttachmentError.Builder,AttachmentError>,SdkBuilder<AttachmentError.Builder,AttachmentError>,SdkPojo
- Enclosing class:
- AttachmentError
public static interface AttachmentError.Builder extends SdkPojo, CopyableBuilder<AttachmentError.Builder,AttachmentError>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachmentError.Buildercode(String code)The error code for the attachment request.AttachmentError.Buildercode(AttachmentErrorCode code)The error code for the attachment request.AttachmentError.Buildermessage(String message)The message associated with the errorcode.AttachmentError.BuilderrequestId(String requestId)The ID of the attachment request.AttachmentError.BuilderresourceArn(String resourceArn)The ARN of the requested attachment resource.-
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
-
code
AttachmentError.Builder code(String code)
The error code for the attachment request.
- Parameters:
code- The error code for the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentErrorCode,AttachmentErrorCode
-
code
AttachmentError.Builder code(AttachmentErrorCode code)
The error code for the attachment request.
- Parameters:
code- The error code for the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttachmentErrorCode,AttachmentErrorCode
-
message
AttachmentError.Builder message(String message)
The message associated with the error
code.- Parameters:
message- The message associated with the errorcode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
AttachmentError.Builder resourceArn(String resourceArn)
The ARN of the requested attachment resource.
- Parameters:
resourceArn- The ARN of the requested attachment resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestId
AttachmentError.Builder requestId(String requestId)
The ID of the attachment request.
- Parameters:
requestId- The ID of the attachment request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-