@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceReference extends Object implements Serializable, Cloneable, StructuredPojo
Describes the resource that refers to the resource that you are attempting to delete. This object is returned as part
of the ResourceInUseException
exception.
Constructor and Description |
---|
ResourceReference() |
Modifier and Type | Method and Description |
---|---|
ResourceReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the resource that is using the resource that you are trying to delete.
|
String |
getVersion()
The version of the resource that is using the resource that you are trying to delete.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the resource that is using the resource that you are trying to delete.
|
void |
setVersion(String version)
The version of the resource that is using the resource that you are trying to delete.
|
String |
toString()
Returns a string representation of this object.
|
ResourceReference |
withName(String name)
The name of the resource that is using the resource that you are trying to delete.
|
ResourceReference |
withVersion(String version)
The version of the resource that is using the resource that you are trying to delete.
|
public void setName(String name)
The name of the resource that is using the resource that you are trying to delete.
name
- The name of the resource that is using the resource that you are trying to delete.public String getName()
The name of the resource that is using the resource that you are trying to delete.
public ResourceReference withName(String name)
The name of the resource that is using the resource that you are trying to delete.
name
- The name of the resource that is using the resource that you are trying to delete.public void setVersion(String version)
The version of the resource that is using the resource that you are trying to delete.
version
- The version of the resource that is using the resource that you are trying to delete.public String getVersion()
The version of the resource that is using the resource that you are trying to delete.
public ResourceReference withVersion(String version)
The version of the resource that is using the resource that you are trying to delete.
version
- The version of the resource that is using the resource that you are trying to delete.public String toString()
toString
in class Object
Object.toString()
public ResourceReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.