@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TargetResource extends Object implements Serializable, Cloneable, StructuredPojo
The resource the action will be taken on.
| Constructor and Description |
|---|
TargetResource() |
| Modifier and Type | Method and Description |
|---|---|
TargetResource |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The ID of the asset, in UUID format.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssetId(String assetId)
The ID of the asset, in UUID format.
|
String |
toString()
Returns a string representation of this object.
|
TargetResource |
withAssetId(String assetId)
The ID of the asset, in UUID format.
|
public void setAssetId(String assetId)
The ID of the asset, in UUID format.
assetId - The ID of the asset, in UUID format.public String getAssetId()
The ID of the asset, in UUID format.
public TargetResource withAssetId(String assetId)
The ID of the asset, in UUID format.
assetId - The ID of the asset, in UUID format.public String toString()
toString in class ObjectObject.toString()public TargetResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.