@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 Object
Object.toString()
public TargetResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.