Interface ResourceAlreadyExistsException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder
,Buildable
,CopyableBuilder<ResourceAlreadyExistsException.Builder,ResourceAlreadyExistsException>
,IotException.Builder
,SdkBuilder<ResourceAlreadyExistsException.Builder,ResourceAlreadyExistsException>
,SdkException.Builder
,SdkPojo
,SdkServiceException.Builder
- Enclosing class:
- ResourceAlreadyExistsException
public static interface ResourceAlreadyExistsException.Builder extends SdkPojo, CopyableBuilder<ResourceAlreadyExistsException.Builder,ResourceAlreadyExistsException>, IotException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceAlreadyExistsException.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
ResourceAlreadyExistsException.Builder
cause(Throwable cause)
ResourceAlreadyExistsException.Builder
message(String message)
ResourceAlreadyExistsException.Builder
requestId(String requestId)
ResourceAlreadyExistsException.Builder
resourceArn(String resourceArn)
The ARN of the resource that caused the exception.ResourceAlreadyExistsException.Builder
resourceId(String resourceId)
The ID of the resource that caused the exception.ResourceAlreadyExistsException.Builder
statusCode(int statusCode)
ResourceAlreadyExistsException.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.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder
cause, message, writableStackTrace
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
resourceId
ResourceAlreadyExistsException.Builder resourceId(String resourceId)
The ID of the resource that caused the exception.
- Parameters:
resourceId
- The ID of the resource that caused the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
ResourceAlreadyExistsException.Builder resourceArn(String resourceArn)
The ARN of the resource that caused the exception.
- Parameters:
resourceArn
- The ARN of the resource that caused the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ResourceAlreadyExistsException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceIotException.Builder
-
message
ResourceAlreadyExistsException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceIotException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
ResourceAlreadyExistsException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceIotException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
ResourceAlreadyExistsException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceIotException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
ResourceAlreadyExistsException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceIotException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceAlreadyExistsException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceIotException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-