public static interface AccessDeniedException.Builder extends CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>, LightsailException.Builder
Modifier and Type | Method and Description |
---|---|
AccessDeniedException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
AccessDeniedException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
AccessDeniedException.Builder |
code(String code)
Sets the value of the Code property for this object.
|
AccessDeniedException.Builder |
docs(String docs)
Sets the value of the Docs property for this object.
|
AccessDeniedException.Builder |
message(String message)
Specifies the details of this exception.
|
AccessDeniedException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
AccessDeniedException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
AccessDeniedException.Builder |
tip(String tip)
Sets the value of the Tip property for this object.
|
copy
applyMutation, build
awsErrorDetails, build
requestId, statusCode
cause, message
AccessDeniedException.Builder code(String code)
code
- The new value for the Code property for this object.AccessDeniedException.Builder docs(String docs)
docs
- The new value for the Docs property for this object.AccessDeniedException.Builder tip(String tip)
tip
- The new value for the Tip property for this object.AccessDeniedException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.Builder
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface LightsailException.Builder
awsErrorDetails
- Object containing additional details from the response.AccessDeniedException.Builder message(String message)
SdkException.Builder
message
in interface AwsServiceException.Builder
message
in interface LightsailException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
- The details of this exception.AccessDeniedException.Builder requestId(String requestId)
SdkServiceException.Builder
requestId
in interface AwsServiceException.Builder
requestId
in interface LightsailException.Builder
requestId
in interface SdkServiceException.Builder
requestId
- A string that identifies the request made to a service.AccessDeniedException.Builder statusCode(int statusCode)
SdkServiceException.Builder
statusCode
in interface AwsServiceException.Builder
statusCode
in interface LightsailException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
- an int containing the status code returned by the service.AccessDeniedException.Builder cause(Throwable cause)
SdkException.Builder
cause
in interface AwsServiceException.Builder
cause
in interface LightsailException.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.