Interface SnsException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- All Known Subinterfaces:
AuthorizationErrorException.Builder
,BatchEntryIdsNotDistinctException.Builder
,BatchRequestTooLongException.Builder
,ConcurrentAccessException.Builder
,EmptyBatchRequestException.Builder
,EndpointDisabledException.Builder
,FilterPolicyLimitExceededException.Builder
,InternalErrorException.Builder
,InvalidBatchEntryIdException.Builder
,InvalidParameterException.Builder
,InvalidParameterValueException.Builder
,InvalidSecurityException.Builder
,InvalidStateException.Builder
,KmsAccessDeniedException.Builder
,KmsDisabledException.Builder
,KmsInvalidStateException.Builder
,KmsNotFoundException.Builder
,KmsOptInRequiredException.Builder
,KmsThrottlingException.Builder
,NotFoundException.Builder
,OptedOutException.Builder
,PlatformApplicationDisabledException.Builder
,ReplayLimitExceededException.Builder
,ResourceNotFoundException.Builder
,StaleTagException.Builder
,SubscriptionLimitExceededException.Builder
,TagLimitExceededException.Builder
,TagPolicyException.Builder
,ThrottledException.Builder
,TooManyEntriesInBatchRequestException.Builder
,TopicLimitExceededException.Builder
,UserErrorException.Builder
,ValidationException.Builder
,VerificationException.Builder
- All Known Implementing Classes:
SnsException.BuilderImpl
- Enclosing class:
- SnsException
public static interface SnsException.Builder extends AwsServiceException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SnsException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
SnsException.Builder
cause(Throwable cause)
SnsException.Builder
message(String message)
SnsException.Builder
requestId(String requestId)
SnsException.Builder
statusCode(int statusCode)
SnsException.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
SnsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
-
message
SnsException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
SnsException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
SnsException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
SnsException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
SnsException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-