@Generated(value="software.amazon.awssdk:codegen") public final class ResourceReference extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the resource that is using the resource that you are trying to delete.
|
List<SdkField<?>> |
sdkFields() |
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()
Returns a string representation of this object.
|
String |
version()
The version of the resource that is using the resource that you are trying to delete.
|
copy
public final String name()
The name of the resource that is using the resource that you are trying to delete.
public final 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 final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()