public static interface NoSuchEntityException.Builder extends CopyableBuilder<NoSuchEntityException.Builder,NoSuchEntityException>, InspectorException.Builder
Modifier and Type | Method and Description |
---|---|
NoSuchEntityException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
NoSuchEntityException.Builder |
canRetry(Boolean canRetry)
You can immediately retry your request.
|
NoSuchEntityException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
NoSuchEntityException.Builder |
inspectorErrorCode(NoSuchEntityErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
|
NoSuchEntityException.Builder |
inspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
|
NoSuchEntityException.Builder |
message(String message)
Specifies the details of this exception.
|
NoSuchEntityException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
NoSuchEntityException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
NoSuchEntityException.Builder canRetry(Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.NoSuchEntityException.Builder inspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.NoSuchEntityErrorCode
,
NoSuchEntityErrorCode
NoSuchEntityException.Builder inspectorErrorCode(NoSuchEntityErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.NoSuchEntityErrorCode
,
NoSuchEntityErrorCode
NoSuchEntityException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface InspectorException.Builder
awsErrorDetails
- Object containing additional details from the response.NoSuchEntityException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface InspectorException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
- The details of this exception.NoSuchEntityException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface InspectorException.Builder
requestId
in interface SdkServiceException.Builder
requestId
- A string that identifies the request made to a service.NoSuchEntityException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface InspectorException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
- an int containing the status code returned by the service.NoSuchEntityException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface InspectorException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
cause
- The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.