protected static class SnsException.BuilderImpl extends AwsServiceException.BuilderImpl implements SnsException.Builder
awsErrorDetails
extendedRequestId, requestId, statusCode
cause, message
Modifier | Constructor and Description |
---|---|
protected |
BuilderImpl() |
protected |
BuilderImpl(SnsException ex) |
Modifier and Type | Method and Description |
---|---|
SnsException.BuilderImpl |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
SnsException |
build() |
SnsException.BuilderImpl |
cause(Throwable cause) |
SnsException.BuilderImpl |
message(String message) |
SnsException.BuilderImpl |
requestId(String requestId) |
SnsException.BuilderImpl |
statusCode(int statusCode) |
awsErrorDetails, clockSkew, clockSkew, extendedRequestId, getAwsErrorDetails, setAwsErrorDetails
extendedRequestId, getExtendedRequestId, getRequestId, getStatusCode, requestId, sdkFields, setExtendedRequestId, setRequestId, setStatusCode, statusCode
cause, getCause, getMessage, message, setCause, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
awsErrorDetails, clockSkew, clockSkew, extendedRequestId
extendedRequestId, requestId, statusCode
cause, message
equalsBySdkFields, sdkFields
protected BuilderImpl()
protected BuilderImpl(SnsException ex)
public SnsException.BuilderImpl awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface SnsException.Builder
awsErrorDetails
in class AwsServiceException.BuilderImpl
public SnsException.BuilderImpl message(String message)
message
in interface AwsServiceException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
message
in interface SnsException.Builder
message
in class AwsServiceException.BuilderImpl
public SnsException.BuilderImpl requestId(String requestId)
requestId
in interface AwsServiceException.Builder
requestId
in interface SdkServiceException.Builder
requestId
in interface SnsException.Builder
requestId
in class AwsServiceException.BuilderImpl
public SnsException.BuilderImpl statusCode(int statusCode)
statusCode
in interface AwsServiceException.Builder
statusCode
in interface SdkServiceException.Builder
statusCode
in interface SnsException.Builder
statusCode
in class AwsServiceException.BuilderImpl
public SnsException.BuilderImpl cause(Throwable cause)
cause
in interface AwsServiceException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
cause
in interface SnsException.Builder
cause
in class AwsServiceException.BuilderImpl
public SnsException build()
build
in interface AwsServiceException.Builder
build
in interface SdkException.Builder
build
in interface SdkServiceException.Builder
build
in interface Buildable
build
in class AwsServiceException.BuilderImpl
Copyright © 2020. All rights reserved.