@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageSource extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 location to import the package from.
Constructor and Description |
---|
PackageSource() |
Modifier and Type | Method and Description |
---|---|
PackageSource |
clone() |
boolean |
equals(Object obj) |
String |
getS3BucketName()
The name of the Amazon S3 bucket containing the package.
|
String |
getS3Key()
Key (file name) of the package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket containing the package.
|
void |
setS3Key(String s3Key)
Key (file name) of the package.
|
String |
toString()
Returns a string representation of this object.
|
PackageSource |
withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket containing the package.
|
PackageSource |
withS3Key(String s3Key)
Key (file name) of the package.
|
public void setS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket containing the package.
s3BucketName
- The name of the Amazon S3 bucket containing the package.public String getS3BucketName()
The name of the Amazon S3 bucket containing the package.
public PackageSource withS3BucketName(String s3BucketName)
The name of the Amazon S3 bucket containing the package.
s3BucketName
- The name of the Amazon S3 bucket containing the package.public void setS3Key(String s3Key)
Key (file name) of the package.
s3Key
- Key (file name) of the package.public String getS3Key()
Key (file name) of the package.
public PackageSource withS3Key(String s3Key)
Key (file name) of the package.
s3Key
- Key (file name) of the package.public String toString()
toString
in class Object
Object.toString()
public PackageSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.