Interface ResourceInUseException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>,QldbException.Builder,SdkBuilder<ResourceInUseException.Builder,ResourceInUseException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ResourceInUseException
public static interface ResourceInUseException.Builder extends SdkPojo, CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>, QldbException.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceInUseException.BuilderawsErrorDetails(AwsErrorDetails awsErrorDetails)ResourceInUseException.Buildercause(Throwable cause)ResourceInUseException.Buildermessage(String message)ResourceInUseException.BuilderrequestId(String requestId)ResourceInUseException.BuilderresourceName(String resourceName)The name of the resource.ResourceInUseException.BuilderresourceType(String resourceType)The type of resource.ResourceInUseException.BuilderstatusCode(int statusCode)ResourceInUseException.BuilderwritableStackTrace(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.exception.SdkServiceException.Builder
extendedRequestId, requestId, statusCode
-
-
-
-
Method Detail
-
resourceType
ResourceInUseException.Builder resourceType(String resourceType)
The type of resource.
- Parameters:
resourceType- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
ResourceInUseException.Builder resourceName(String resourceName)
The name of the resource.
- Parameters:
resourceName- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsErrorDetails
ResourceInUseException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceQldbException.Builder
-
message
ResourceInUseException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceQldbException.Builder- Specified by:
messagein interfaceSdkException.Builder- Specified by:
messagein interfaceSdkServiceException.Builder
-
requestId
ResourceInUseException.Builder requestId(String requestId)
- Specified by:
requestIdin interfaceAwsServiceException.Builder- Specified by:
requestIdin interfaceQldbException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ResourceInUseException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceQldbException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ResourceInUseException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceQldbException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceInUseException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceQldbException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-