@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetSourceEntry extends Object implements Serializable, Cloneable, StructuredPojo
The source of the assets.
Constructor and Description |
---|
AssetSourceEntry() |
Modifier and Type | Method and Description |
---|---|
AssetSourceEntry |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket that's part of the source of 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 |
setBucket(String bucket)
The Amazon S3 bucket that's part of the source of 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.
|
AssetSourceEntry |
withBucket(String bucket)
The Amazon S3 bucket that's part of the source of the asset.
|
AssetSourceEntry |
withKey(String key)
The name of the object in Amazon S3 for the asset.
|
public void setBucket(String bucket)
The Amazon S3 bucket that's part of the source of the asset.
bucket
- The Amazon S3 bucket that's part of the source of the asset.public String getBucket()
The Amazon S3 bucket that's part of the source of the asset.
public AssetSourceEntry withBucket(String bucket)
The Amazon S3 bucket that's part of the source of the asset.
bucket
- The Amazon S3 bucket that's part of the source of 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 AssetSourceEntry 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 AssetSourceEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.