Interface FailureInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailureInfo.Builder,
,FailureInfo> SdkBuilder<FailureInfo.Builder,
,FailureInfo> SdkPojo
- Enclosing class:
FailureInfo
public static interface FailureInfo.Builder
extends SdkPojo, CopyableBuilder<FailureInfo.Builder,FailureInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe code of the common error.The code of the common error.errorMessage
(String errorMessage) The message of the common error.statusCode
(Integer statusCode) The HTTP status code of the common error.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 Details
-
statusCode
The HTTP status code of the common error.
- Parameters:
statusCode
- The HTTP status code of the common error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The code of the common error. Valid values include
InternalServiceException
,InvalidParameterException
, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.- Parameters:
errorCode
- The code of the common error. Valid values includeInternalServiceException
,InvalidParameterException
, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The code of the common error. Valid values include
InternalServiceException
,InvalidParameterException
, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.- Parameters:
errorCode
- The code of the common error. Valid values includeInternalServiceException
,InvalidParameterException
, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The message of the common error.
- Parameters:
errorMessage
- The message of the common error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-