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.Builder
awsErrorDetails(AwsErrorDetails awsErrorDetails)
ResourceInUseException.Builder
cause(Throwable cause)
ResourceInUseException.Builder
message(String message)
ResourceInUseException.Builder
requestId(String requestId)
ResourceInUseException.Builder
resourceName(String resourceName)
The name of the resource.ResourceInUseException.Builder
resourceType(String resourceType)
The type of resource.ResourceInUseException.Builder
statusCode(int statusCode)
ResourceInUseException.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
-
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:
awsErrorDetails
in interfaceAwsServiceException.Builder
- Specified by:
awsErrorDetails
in interfaceQldbException.Builder
-
message
ResourceInUseException.Builder message(String message)
- Specified by:
message
in interfaceAwsServiceException.Builder
- Specified by:
message
in interfaceQldbException.Builder
- Specified by:
message
in interfaceSdkException.Builder
- Specified by:
message
in interfaceSdkServiceException.Builder
-
requestId
ResourceInUseException.Builder requestId(String requestId)
- Specified by:
requestId
in interfaceAwsServiceException.Builder
- Specified by:
requestId
in interfaceQldbException.Builder
- Specified by:
requestId
in interfaceSdkServiceException.Builder
-
statusCode
ResourceInUseException.Builder statusCode(int statusCode)
- Specified by:
statusCode
in interfaceAwsServiceException.Builder
- Specified by:
statusCode
in interfaceQldbException.Builder
- Specified by:
statusCode
in interfaceSdkServiceException.Builder
-
cause
ResourceInUseException.Builder cause(Throwable cause)
- Specified by:
cause
in interfaceAwsServiceException.Builder
- Specified by:
cause
in interfaceQldbException.Builder
- Specified by:
cause
in interfaceSdkException.Builder
- Specified by:
cause
in interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceInUseException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTrace
in interfaceQldbException.Builder
- Specified by:
writableStackTrace
in interfaceSdkException.Builder
- Specified by:
writableStackTrace
in interfaceSdkServiceException.Builder
-
-