@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ObjectSource extends Object implements Serializable, Cloneable, StructuredPojo
Template bundle S3 bucket data.
| Constructor and Description | 
|---|
| S3ObjectSource() | 
| Modifier and Type | Method and Description | 
|---|---|
| S3ObjectSource | clone() | 
| boolean | equals(Object obj) | 
| String | getBucket()
 The name of the S3 bucket that contains a template bundle. | 
| String | getKey()
 The path to the S3 bucket that contains a template bundle. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setBucket(String bucket)
 The name of the S3 bucket that contains a template bundle. | 
| void | setKey(String key)
 The path to the S3 bucket that contains a template bundle. | 
| String | toString()Returns a string representation of this object. | 
| S3ObjectSource | withBucket(String bucket)
 The name of the S3 bucket that contains a template bundle. | 
| S3ObjectSource | withKey(String key)
 The path to the S3 bucket that contains a template bundle. | 
public void setBucket(String bucket)
The name of the S3 bucket that contains a template bundle.
bucket - The name of the S3 bucket that contains a template bundle.public String getBucket()
The name of the S3 bucket that contains a template bundle.
public S3ObjectSource withBucket(String bucket)
The name of the S3 bucket that contains a template bundle.
bucket - The name of the S3 bucket that contains a template bundle.public void setKey(String key)
The path to the S3 bucket that contains a template bundle.
key - The path to the S3 bucket that contains a template bundle.public String getKey()
The path to the S3 bucket that contains a template bundle.
public S3ObjectSource withKey(String key)
The path to the S3 bucket that contains a template bundle.
key - The path to the S3 bucket that contains a template bundle.public String toString()
toString in class ObjectObject.toString()public S3ObjectSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.