Interface Ec2AccessDeniedException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,CopyableBuilder<Ec2AccessDeniedException.Builder,Ec2AccessDeniedException>
,LambdaException.Builder
,SdkBuilder<Ec2AccessDeniedException.Builder,Ec2AccessDeniedException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- Ec2AccessDeniedException
public static interface Ec2AccessDeniedException.Builder extends SdkPojo, CopyableBuilder<Ec2AccessDeniedException.Builder,Ec2AccessDeniedException>, LambdaException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2AccessDeniedException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Ec2AccessDeniedException.Builder
cause(Throwable cause)
Ec2AccessDeniedException.Builder
message(String message)
Ec2AccessDeniedException.Builder
requestId(String requestId)
Ec2AccessDeniedException.Builder
statusCode(int statusCode)
Ec2AccessDeniedException.Builder
type(String type)
Sets the value of the Type property for this object.Ec2AccessDeniedException.Builder
writableStackTrace(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
-
type
Ec2AccessDeniedException.Builder type(String type)
Sets the value of the Type property for this object.- Parameters:
type
- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
Ec2AccessDeniedException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceLambdaException.Builder
-
message
Ec2AccessDeniedException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceLambdaException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
Ec2AccessDeniedException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceLambdaException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
Ec2AccessDeniedException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceLambdaException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
Ec2AccessDeniedException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceLambdaException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
Ec2AccessDeniedException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceLambdaException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-