public static interface AccessDeniedException.Builder extends SdkPojo, CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>, DetectiveException.Builder
| Modifier and Type | Method and Description |
|---|---|
AccessDeniedException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
AccessDeniedException.Builder |
cause(Throwable cause) |
AccessDeniedException.Builder |
errorCode(ErrorCode errorCode)
The SDK default error code associated with the access denied exception.
|
AccessDeniedException.Builder |
errorCode(String errorCode)
The SDK default error code associated with the access denied exception.
|
AccessDeniedException.Builder |
errorCodeReason(String errorCodeReason)
The SDK default explanation of why access was denied.
|
AccessDeniedException.Builder |
message(String message) |
AccessDeniedException.Builder |
requestId(String requestId) |
AccessDeniedException.Builder |
statusCode(int statusCode) |
AccessDeniedException.Builder |
subErrorCode(ErrorCode subErrorCode)
The error code associated with the access denied exception.
|
AccessDeniedException.Builder |
subErrorCode(String subErrorCode)
The error code associated with the access denied exception.
|
AccessDeniedException.Builder |
subErrorCodeReason(String subErrorCodeReason)
An explanation of why access was denied.
|
AccessDeniedException.Builder |
writableStackTrace(Boolean writableStackTrace) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, writableStackTraceequalsBySdkFields, sdkFieldsAccessDeniedException.Builder errorCode(String errorCode)
The SDK default error code associated with the access denied exception.
AccessDeniedException.Builder errorCode(ErrorCode errorCode)
The SDK default error code associated with the access denied exception.
AccessDeniedException.Builder errorCodeReason(String errorCodeReason)
The SDK default explanation of why access was denied.
errorCodeReason - The SDK default explanation of why access was denied.AccessDeniedException.Builder subErrorCode(String subErrorCode)
The error code associated with the access denied exception.
AccessDeniedException.Builder subErrorCode(ErrorCode subErrorCode)
The error code associated with the access denied exception.
AccessDeniedException.Builder subErrorCodeReason(String subErrorCodeReason)
An explanation of why access was denied.
subErrorCodeReason - An explanation of why access was denied.AccessDeniedException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface DetectiveException.BuilderAccessDeniedException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface DetectiveException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderAccessDeniedException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface DetectiveException.BuilderrequestId in interface SdkServiceException.BuilderAccessDeniedException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface DetectiveException.BuilderstatusCode in interface SdkServiceException.BuilderAccessDeniedException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface DetectiveException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderAccessDeniedException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace in interface DetectiveException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderCopyright © 2023. All rights reserved.