public static interface ResourceInUseException.Builder extends SdkPojo, CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>, LexModelBuildingException.Builder
| Modifier and Type | Method and Description |
|---|---|
ResourceInUseException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
ResourceInUseException.Builder |
cause(Throwable cause) |
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) |
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) |
ResourceInUseException.Builder |
statusCode(int statusCode) |
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, messageequalsBySdkFields, sdkFieldsResourceInUseException.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)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface LexModelBuildingException.BuilderResourceInUseException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface LexModelBuildingException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderResourceInUseException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface LexModelBuildingException.BuilderrequestId in interface SdkServiceException.BuilderResourceInUseException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface LexModelBuildingException.BuilderstatusCode in interface SdkServiceException.BuilderResourceInUseException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface LexModelBuildingException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderCopyright © 2022. All rights reserved.