@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetDestinationEntry extends Object implements Serializable, Cloneable, StructuredPojo
The destination for the asset.
Constructor and Description |
---|
AssetDestinationEntry() |
Modifier and Type | Method and Description |
---|---|
AssetDestinationEntry |
clone() |
boolean |
equals(Object obj) |
String |
getAssetId()
The unique identifier for the asset.
|
String |
getBucket()
The Amazon S3 bucket that is the destination for the asset.
|
String |
getKey()
The name of the object in Amazon S3 for the asset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssetId(String assetId)
The unique identifier for the asset.
|
void |
setBucket(String bucket)
The Amazon S3 bucket that is the destination for the asset.
|
void |
setKey(String key)
The name of the object in Amazon S3 for the asset.
|
String |
toString()
Returns a string representation of this object.
|
AssetDestinationEntry |
withAssetId(String assetId)
The unique identifier for the asset.
|
AssetDestinationEntry |
withBucket(String bucket)
The Amazon S3 bucket that is the destination for the asset.
|
AssetDestinationEntry |
withKey(String key)
The name of the object in Amazon S3 for the asset.
|
public void setAssetId(String assetId)
The unique identifier for the asset.
assetId
- The unique identifier for the asset.public String getAssetId()
The unique identifier for the asset.
public AssetDestinationEntry withAssetId(String assetId)
The unique identifier for the asset.
assetId
- The unique identifier for the asset.public void setBucket(String bucket)
The Amazon S3 bucket that is the destination for the asset.
bucket
- The Amazon S3 bucket that is the destination for the asset.public String getBucket()
The Amazon S3 bucket that is the destination for the asset.
public AssetDestinationEntry withBucket(String bucket)
The Amazon S3 bucket that is the destination for the asset.
bucket
- The Amazon S3 bucket that is the destination for the asset.public void setKey(String key)
The name of the object in Amazon S3 for the asset.
key
- The name of the object in Amazon S3 for the asset.public String getKey()
The name of the object in Amazon S3 for the asset.
public AssetDestinationEntry withKey(String key)
The name of the object in Amazon S3 for the asset.
key
- The name of the object in Amazon S3 for the asset.public String toString()
toString
in class Object
Object.toString()
public AssetDestinationEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.