Interface AccessDeniedException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CodeGuruSecurityException.Builder,CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>,SdkBuilder<AccessDeniedException.Builder,AccessDeniedException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- AccessDeniedException
public static interface AccessDeniedException.Builder extends SdkPojo, CopyableBuilder<AccessDeniedException.Builder,AccessDeniedException>, CodeGuruSecurityException.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 identifier for the error.AccessDeniedException.Buildermessage(String message)AccessDeniedException.BuilderrequestId(String requestId)AccessDeniedException.BuilderresourceId(String resourceId)The identifier for the resource you don't have access to.AccessDeniedException.BuilderresourceType(String resourceType)The type of resource you don't have access to.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
errorCode
AccessDeniedException.Builder errorCode(String errorCode)
The identifier for the error.
- Parameters:
errorCode- The identifier for the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
AccessDeniedException.Builder resourceId(String resourceId)
The identifier for the resource you don't have access to.
- Parameters:
resourceId- The identifier for the resource you don't have access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
AccessDeniedException.Builder resourceType(String resourceType)
The type of resource you don't have access to.
- Parameters:
resourceType- The type of resource you don't have access to.- 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 interfaceCodeGuruSecurityException.Builder
-
message
AccessDeniedException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceCodeGuruSecurityException.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 interfaceCodeGuruSecurityException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
AccessDeniedException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceCodeGuruSecurityException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
AccessDeniedException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceCodeGuruSecurityException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
AccessDeniedException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceCodeGuruSecurityException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-