CopyableBuilder<FailureInfo.Builder,FailureInfo>
, SdkBuilder<FailureInfo.Builder,FailureInfo>
public static interface FailureInfo.Builder extends CopyableBuilder<FailureInfo.Builder,FailureInfo>
Modifier and Type | Method | Description |
---|---|---|
FailureInfo.Builder |
errorCode(String errorCode) |
The code of the common error.
|
FailureInfo.Builder |
errorCode(ErrorCode errorCode) |
The code of the common error.
|
FailureInfo.Builder |
errorMessage(String errorMessage) |
The message of the common error.
|
FailureInfo.Builder |
statusCode(Integer statusCode) |
The HTTP status code of the common error.
|
copy
apply, build
FailureInfo.Builder statusCode(Integer statusCode)
The HTTP status code of the common error.
statusCode
- The HTTP status code of the common error.FailureInfo.Builder errorCode(String errorCode)
The code of the common error. Valid values include InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that hosts the
resource that you want to tag.
errorCode
- The code of the common error. Valid values include InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that
hosts the resource that you want to tag.ErrorCode
FailureInfo.Builder errorCode(ErrorCode errorCode)
The code of the common error. Valid values include InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that hosts the
resource that you want to tag.
errorCode
- The code of the common error. Valid values include InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that
hosts the resource that you want to tag.ErrorCode
FailureInfo.Builder errorMessage(String errorMessage)
The message of the common error.
errorMessage
- The message of the common error.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.