public static interface ResourceInUseException.Builder extends CopyableBuilder<ResourceInUseException.Builder,ResourceInUseException>
Modifier and Type | Method and Description |
---|---|
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.
|
copy
apply, build
ResourceInUseException.Builder referenceType(String referenceType)
referenceType
- The new value for the ReferenceType property for this object.ReferenceType
,
ReferenceType
ResourceInUseException.Builder referenceType(ReferenceType referenceType)
referenceType
- The new value for the ReferenceType property for this object.ReferenceType
,
ReferenceType
ResourceInUseException.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.Builder
exampleReference(ResourceReference)
ResourceInUseException.Builder message(String message)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.