Interface AccessDeniedException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>,DetectiveException.Builder,SdkBuilder<AccessDeniedException.Builder,AccessDeniedException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- AccessDeniedException
public static interface AccessDeniedException.Builder extends SdkPojo, CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>, DetectiveException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessDeniedException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)AccessDeniedException.Buildercause(Throwable cause)AccessDeniedException.BuildererrorCode(String errorCode)The SDK default error code associated with the access denied exception.AccessDeniedException.BuildererrorCode(ErrorCode errorCode)The SDK default error code associated with the access denied exception.AccessDeniedException.BuildererrorCodeReason(String errorCodeReason)The SDK default explanation of why access was denied.AccessDeniedException.Buildermessage(String message)AccessDeniedException.BuilderrequestId(String requestId)AccessDeniedException.BuilderstatusCode(int statusCode)AccessDeniedException.BuildersubErrorCode(String subErrorCode)The error code associated with the access denied exception.AccessDeniedException.BuildersubErrorCode(ErrorCode subErrorCode)The error code associated with the access denied exception.AccessDeniedException.BuildersubErrorCodeReason(String subErrorCodeReason)An explanation of why access was denied.AccessDeniedException.BuilderwritableStackTrace(Boolean writableStackTrace)-
Methods inherited from interface software.amazon.awssdk.awscore.exception.AwsServiceException.Builder
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
-
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.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
errorCode
AccessDeniedException.Builder errorCode(String errorCode)
The SDK default error code associated with the access denied exception.
-
errorCode
AccessDeniedException.Builder errorCode(ErrorCode errorCode)
The SDK default error code associated with the access denied exception.
-
errorCodeReason
AccessDeniedException.Builder errorCodeReason(String errorCodeReason)
The SDK default explanation of why access was denied.
- Parameters:
errorCodeReason- The SDK default explanation of why access was denied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subErrorCode
AccessDeniedException.Builder subErrorCode(String subErrorCode)
The error code associated with the access denied exception.
-
subErrorCode
AccessDeniedException.Builder subErrorCode(ErrorCode subErrorCode)
The error code associated with the access denied exception.
-
subErrorCodeReason
AccessDeniedException.Builder subErrorCodeReason(String subErrorCodeReason)
An explanation of why access was denied.
- Parameters:
subErrorCodeReason- An explanation of why access was denied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
AccessDeniedException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceDetectiveException.Builder
-
message
AccessDeniedException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceDetectiveException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
AccessDeniedException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceDetectiveException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
AccessDeniedException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceDetectiveException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
AccessDeniedException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceDetectiveException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
AccessDeniedException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceDetectiveException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-