@Generated(value="software.amazon.awssdk:codegen") public class ResourceReference extends Object implements StructuredPojo, ToCopyableBuilder<ResourceReference.Builder,ResourceReference>
Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part
of the ResourceInUseException
exception.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceReference.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceReference.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the resource that is using the resource that you are trying to delete.
|
static Class<? extends ResourceReference.Builder> |
serializableBuilderClass() |
ResourceReference.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the resource that is using the resource that you are trying to delete.
|
copy
public String name()
The name of the resource that is using the resource that you are trying to delete.
public String version()
The version of the resource that is using the resource that you are trying to delete.
public ResourceReference.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceReference.Builder,ResourceReference>
public static ResourceReference.Builder builder()
public static Class<? extends ResourceReference.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.