public static interface ResourceInUseException.Builder extends SdkPojo, CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>, LexModelBuildingException.Builder
| Modifier and Type | Method and Description |
|---|---|
ResourceInUseException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails)
Specifies the additional awsErrorDetails from the service response.
|
ResourceInUseException.Builder |
cause(Throwable cause)
Specifies the exception that caused this exception to occur.
|
default ResourceInUseException.Builder |
exampleReference(Consumer<ResourceReference.Builder> exampleReference)
Sets the value of the ExampleReference property for this object.
|
ResourceInUseException.Builder |
exampleReference(ResourceReference exampleReference)
Sets the value of the ExampleReference property for this object.
|
ResourceInUseException.Builder |
message(String message)
Specifies the details of this exception.
|
ResourceInUseException.Builder |
referenceType(ReferenceType referenceType)
Sets the value of the ReferenceType property for this object.
|
ResourceInUseException.Builder |
referenceType(String referenceType)
Sets the value of the ReferenceType property for this object.
|
ResourceInUseException.Builder |
requestId(String requestId)
Specifies the requestId returned by the called service.
|
ResourceInUseException.Builder |
statusCode(int statusCode)
Specifies the status code returned by the service.
|
copyapplyMutation, buildawsErrorDetails, buildrequestId, statusCodecause, messageResourceInUseException.Builder referenceType(String referenceType)
referenceType - The new value for the ReferenceType property for this object.ReferenceType,
ReferenceTypeResourceInUseException.Builder referenceType(ReferenceType referenceType)
referenceType - The new value for the ReferenceType property for this object.ReferenceType,
ReferenceTypeResourceInUseException.Builder exampleReference(ResourceReference exampleReference)
exampleReference - The new value for the ExampleReference property for this object.default ResourceInUseException.Builder exampleReference(Consumer<ResourceReference.Builder> exampleReference)
ResourceReference.Builder avoiding the need to
create one manually via ResourceReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to exampleReference(ResourceReference).exampleReference - a consumer that will call methods on ResourceReference.BuilderexampleReference(ResourceReference)ResourceInUseException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
AwsServiceException.BuilderawsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LexModelBuildingException.BuilderawsErrorDetails - Object containing additional details from the response.ResourceInUseException.Builder message(String message)
SdkException.Buildermessage in interface AwsServiceException.Buildermessage in interface LexModelBuildingException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.Buildermessage - The details of this exception.ResourceInUseException.Builder requestId(String requestId)
SdkServiceException.BuilderrequestId in interface AwsServiceException.BuilderrequestId in interface LexModelBuildingException.BuilderrequestId in interface SdkServiceException.BuilderrequestId - A string that identifies the request made to a service.ResourceInUseException.Builder statusCode(int statusCode)
SdkServiceException.BuilderstatusCode in interface AwsServiceException.BuilderstatusCode in interface LexModelBuildingException.BuilderstatusCode in interface SdkServiceException.BuilderstatusCode - an int containing the status code returned by the service.ResourceInUseException.Builder cause(Throwable cause)
SdkException.Buildercause in interface AwsServiceException.Buildercause in interface LexModelBuildingException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.Buildercause - The exception that caused this exception to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.