Interface KmsException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- All Known Subinterfaces:
AlreadyExistsException.Builder
,CloudHsmClusterInUseException.Builder
,CloudHsmClusterInvalidConfigurationException.Builder
,CloudHsmClusterNotActiveException.Builder
,CloudHsmClusterNotFoundException.Builder
,CloudHsmClusterNotRelatedException.Builder
,ConflictException.Builder
,CustomKeyStoreHasCmKsException.Builder
,CustomKeyStoreInvalidStateException.Builder
,CustomKeyStoreNameInUseException.Builder
,CustomKeyStoreNotFoundException.Builder
,DependencyTimeoutException.Builder
,DisabledException.Builder
,DryRunOperationException.Builder
,ExpiredImportTokenException.Builder
,IncorrectKeyException.Builder
,IncorrectKeyMaterialException.Builder
,IncorrectTrustAnchorException.Builder
,InvalidAliasNameException.Builder
,InvalidArnException.Builder
,InvalidCiphertextException.Builder
,InvalidGrantIdException.Builder
,InvalidGrantTokenException.Builder
,InvalidImportTokenException.Builder
,InvalidKeyUsageException.Builder
,InvalidMarkerException.Builder
,KeyUnavailableException.Builder
,KmsInternalException.Builder
,KmsInvalidMacException.Builder
,KmsInvalidSignatureException.Builder
,KmsInvalidStateException.Builder
,LimitExceededException.Builder
,MalformedPolicyDocumentException.Builder
,NotFoundException.Builder
,TagException.Builder
,UnsupportedOperationException.Builder
,XksKeyAlreadyInUseException.Builder
,XksKeyInvalidConfigurationException.Builder
,XksKeyNotFoundException.Builder
,XksProxyIncorrectAuthenticationCredentialException.Builder
,XksProxyInvalidConfigurationException.Builder
,XksProxyInvalidResponseException.Builder
,XksProxyUriEndpointInUseException.Builder
,XksProxyUriInUseException.Builder
,XksProxyUriUnreachableException.Builder
,XksProxyVpcEndpointServiceInUseException.Builder
,XksProxyVpcEndpointServiceInvalidConfigurationException.Builder
,XksProxyVpcEndpointServiceNotFoundException.Builder
- All Known Implementing Classes:
KmsException.BuilderImpl
- Enclosing class:
- KmsException
public static interface KmsException.Builder extends AwsServiceException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KmsException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
KmsException.Builder
cause(Throwable cause)
KmsException.Builder
message(String message)
KmsException.Builder
requestId(String requestId)
KmsException.Builder
statusCode(int statusCode)
KmsException.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.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
-
awsErrorDetails
KmsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
-
message
KmsException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
KmsException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
KmsException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
KmsException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
KmsException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-