Interface AccessDeniedException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>,SdkBuilder<AccessDeniedException.Builder,AccessDeniedException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder,SecurityLakeException.Builder
- Enclosing class:
- AccessDeniedException
public static interface AccessDeniedException.Builder extends SdkPojo, CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>, SecurityLakeException.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)A coded string to provide more information about the access denied exception.AccessDeniedException.Buildermessage(String message)AccessDeniedException.BuilderrequestId(String requestId)AccessDeniedException.BuilderstatusCode(int statusCode)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
errorCode
AccessDeniedException.Builder errorCode(String errorCode)
A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.
- Parameters:
errorCode- A coded string to provide more information about the access denied exception. You can use the error code to check the exception type.- 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 interfaceSecurityLakeException.Builder
-
message
AccessDeniedException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder- Specified by:
messagein interfaceSecurityLakeException.Builder
-
requestId
AccessDeniedException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder- Specified by:
requestIdin interfaceSecurityLakeException.Builder
-
statusCode
AccessDeniedException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder- Specified by:
statusCodein interfaceSecurityLakeException.Builder
-
cause
AccessDeniedException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder- Specified by:
causein interfaceSecurityLakeException.Builder
-
writableStackTrace
AccessDeniedException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder- Specified by:
writableStackTracein interfaceSecurityLakeException.Builder
-
-