Interface ResourceInUseException.Builder
-
- All Superinterfaces:
AwsServiceException.Builder,Buildable,CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>,LexModelBuildingException.Builder,SdkBuilder<ResourceInUseException.Builder,ResourceInUseException>,SdkException.Builder,SdkPojo,SdkServiceException.Builder
- Enclosing class:
- ResourceInUseException
public static interface ResourceInUseException.Builder extends SdkPojo, CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>, LexModelBuildingException.Builder
-
-
Method Summary
-
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
-
referenceType
ResourceInUseException.Builder referenceType(String referenceType)
Sets the value of the ReferenceType property for this object.- Parameters:
referenceType- The new value for the ReferenceType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReferenceType,ReferenceType
-
referenceType
ResourceInUseException.Builder referenceType(ReferenceType referenceType)
Sets the value of the ReferenceType property for this object.- Parameters:
referenceType- The new value for the ReferenceType property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReferenceType,ReferenceType
-
exampleReference
ResourceInUseException.Builder exampleReference(ResourceReference exampleReference)
Sets the value of the ExampleReference property for this object.- Parameters:
exampleReference- The new value for the ExampleReference property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exampleReference
default ResourceInUseException.Builder exampleReference(Consumer<ResourceReference.Builder> exampleReference)
Sets the value of the ExampleReference property for this object. This is a convenience method that creates an instance of theResourceReference.Builderavoiding the need to create one manually viaResourceReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexampleReference(ResourceReference).- Parameters:
exampleReference- a consumer that will call methods onResourceReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
exampleReference(ResourceReference)
-
awsErrorDetails
ResourceInUseException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
- Specified by:
awsErrorDetailsin interfaceAwsServiceException.Builder- Specified by:
awsErrorDetailsin interfaceLexModelBuildingException.Builder
-
message
ResourceInUseException.Builder message(String message)
- Specified by:
messagein interfaceAwsServiceException.Builder- Specified by:
messagein interfaceLexModelBuildingException.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 interfaceLexModelBuildingException.Builder- Specified by:
requestIdin interfaceSdkServiceException.Builder
-
statusCode
ResourceInUseException.Builder statusCode(int statusCode)
- Specified by:
statusCodein interfaceAwsServiceException.Builder- Specified by:
statusCodein interfaceLexModelBuildingException.Builder- Specified by:
statusCodein interfaceSdkServiceException.Builder
-
cause
ResourceInUseException.Builder cause(Throwable cause)
- Specified by:
causein interfaceAwsServiceException.Builder- Specified by:
causein interfaceLexModelBuildingException.Builder- Specified by:
causein interfaceSdkException.Builder- Specified by:
causein interfaceSdkServiceException.Builder
-
writableStackTrace
ResourceInUseException.Builder writableStackTrace(Boolean writableStackTrace)
- Specified by:
writableStackTracein interfaceLexModelBuildingException.Builder- Specified by:
writableStackTracein interfaceSdkException.Builder- Specified by:
writableStackTracein interfaceSdkServiceException.Builder
-
-