Interface Ec2MetadataClientException.Builder
- All Superinterfaces:
Buildable
,SdkClientException.Builder
,SdkException.Builder
- Enclosing class:
Ec2MetadataClientException
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a newSdkException
with 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, writableStackTrace
Methods 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.Builder
Creates a newSdkException
with the specified properties.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkClientException.Builder
- Specified by:
build
in interfaceSdkException.Builder
- Returns:
- The new
SdkException
.
-