Interface Ec2UnexpectedException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<Ec2UnexpectedException.Builder,Ec2UnexpectedException>,LambdaException.Builder,SdkBuilder<Ec2UnexpectedException.Builder,Ec2UnexpectedException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- Ec2UnexpectedException
@Mutable @NotThreadSafe public static interface Ec2UnexpectedException.Builder extends SdkPojo, CopyableBuilder<Ec2UnexpectedException.Builder,Ec2UnexpectedException>, LambdaException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ec2UnexpectedException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)Ec2UnexpectedException.Buildercause(Throwable cause)Ec2UnexpectedException.Builderec2ErrorCode(String ec2ErrorCode)Sets the value of the EC2ErrorCode property for this object.Ec2UnexpectedException.Buildermessage(String message)Ec2UnexpectedException.BuildernumAttempts(Integer numAttempts)Ec2UnexpectedException.BuilderrequestId(String requestId)Ec2UnexpectedException.BuilderstatusCode(int statusCode)Ec2UnexpectedException.Buildertype(String type)Sets the value of the Type property for this object.Ec2UnexpectedException.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, numAttempts, 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
Ec2UnexpectedException.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.
-
ec2ErrorCode
Ec2UnexpectedException.Builder ec2ErrorCode(String ec2ErrorCode)
Sets the value of the EC2ErrorCode property for this object.- Parameters:
ec2ErrorCode- The new value for the EC2ErrorCode property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
Ec2UnexpectedException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceLambdaException.Builder
-
message
Ec2UnexpectedException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceLambdaException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
Ec2UnexpectedException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceLambdaException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
Ec2UnexpectedException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceLambdaException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
Ec2UnexpectedException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceLambdaException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
Ec2UnexpectedException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceLambdaException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
numAttempts
Ec2UnexpectedException.Builder numAttempts(Integer numAttempts)
- Specified by:
numAttemptsin interfaceAwsServiceException.Builder- Specified by:
numAttemptsin interfaceLambdaException.Builder- Specified by:
numAttemptsin interfaceSdkException.Builder- Specified by:
numAttemptsin interfaceSdkServiceException.Builder
-
-