Interface Ec2MetadataClientException.Builder
- All Superinterfaces:
Buildable,SdkClientException.Builder,SdkException.Builder
- Enclosing class:
Ec2MetadataClientException
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a newSdkExceptionwith the specified properties.rawResponse(SdkBytes rawResponse) sdkHttpResponse(SdkHttpResponse sdkHttpResponse) statusCode(int statusCode) Methods inherited from interface software.amazon.awssdk.core.exception.SdkClientException.Builder
cause, message, numAttempts, writableStackTraceMethods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, numAttempts, writableStackTrace
-
Method Details
-
statusCode
-
rawResponse
-
sdkHttpResponse
-
build
Ec2MetadataClientException build()Description copied from interface:SdkException.BuilderCreates a newSdkExceptionwith the specified properties.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkClientException.Builder- Specified by:
buildin interfaceSdkException.Builder- Returns:
- The new
SdkException.
-