Interface ErrorResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorResponse.Builder,ErrorResponse>,SdkBuilder<ErrorResponse.Builder,ErrorResponse>,SdkPojo
- Enclosing class:
- ErrorResponse
public static interface ErrorResponse.Builder extends SdkPojo, CopyableBuilder<ErrorResponse.Builder,ErrorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorResponse.BuilderaccountId(String accountId)The Amazon Web Services account ID of the resource owner.ErrorResponse.BuilderadditionalDetails(Map<String,String> additionalDetails)Additional details about the error.ErrorResponse.Buildercode(String code)The error code associated with the error.ErrorResponse.Buildercode(ErrorCode code)The error code associated with the error.ErrorResponse.Buildermessage(String message)The message associated with the error.ErrorResponse.BuilderresourceIdentifier(String resourceIdentifier)The ID of the resource.ErrorResponse.BuilderresourceType(String resourceType)The type of resource.ErrorResponse.BuilderresourceType(ErrorResourceType resourceType)The type of 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
-
accountId
ErrorResponse.Builder accountId(String accountId)
The Amazon Web Services account ID of the resource owner.
- Parameters:
accountId- The Amazon Web Services account ID of the resource owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalDetails
ErrorResponse.Builder additionalDetails(Map<String,String> additionalDetails)
Additional details about the error.
- Parameters:
additionalDetails- Additional details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
ErrorResponse.Builder code(String code)
The error code associated with the error.
-
code
ErrorResponse.Builder code(ErrorCode code)
The error code associated with the error.
-
message
ErrorResponse.Builder message(String message)
The message associated with the error.
- Parameters:
message- The message associated with the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
ErrorResponse.Builder resourceIdentifier(String resourceIdentifier)
The ID of the resource.
- Parameters:
resourceIdentifier- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
ErrorResponse.Builder resourceType(String resourceType)
The type of resource.
- Parameters:
resourceType- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ErrorResourceType,ErrorResourceType
-
resourceType
ErrorResponse.Builder resourceType(ErrorResourceType resourceType)
The type of resource.
- Parameters:
resourceType- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ErrorResourceType,ErrorResourceType
-
-