@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Information about the location of application artifacts stored in Amazon S3.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the Amazon S3 bucket where the application revision is stored.
|
String |
getBundleType()
The file type of the application revision.
|
String |
getETag()
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
String |
getKey()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
String |
getVersion()
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket where the application revision is stored.
|
void |
setBundleType(BundleType bundleType)
The file type of the application revision.
|
void |
setBundleType(String bundleType)
The file type of the application revision.
|
void |
setETag(String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
void |
setKey(String key)
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
void |
setVersion(String version)
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3Location |
withBucket(String bucket)
The name of the Amazon S3 bucket where the application revision is stored.
|
S3Location |
withBundleType(BundleType bundleType)
The file type of the application revision.
|
S3Location |
withBundleType(String bundleType)
The file type of the application revision.
|
S3Location |
withETag(String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
S3Location |
withKey(String key)
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
S3Location |
withVersion(String version)
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
public void setBucket(String bucket)
The name of the Amazon S3 bucket where the application revision is stored.
bucket
- The name of the Amazon S3 bucket where the application revision is stored.public String getBucket()
The name of the Amazon S3 bucket where the application revision is stored.
public S3Location withBucket(String bucket)
The name of the Amazon S3 bucket where the application revision is stored.
bucket
- The name of the Amazon S3 bucket where the application revision is stored.public void setKey(String key)
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
key
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.public String getKey()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
public S3Location withKey(String key)
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
key
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.public void setBundleType(String bundleType)
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
bundleType
- The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public String getBundleType()
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public S3Location withBundleType(String bundleType)
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
bundleType
- The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public void setBundleType(BundleType bundleType)
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
bundleType
- The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public S3Location withBundleType(BundleType bundleType)
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
bundleType
- The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public void setVersion(String version)
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system will use the most recent version by default.
version
- A specific version of the Amazon S3 object that represents the bundled artifacts for the application
revision.
If the version is not specified, the system will use the most recent version by default.
public String getVersion()
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system will use the most recent version by default.
If the version is not specified, the system will use the most recent version by default.
public S3Location withVersion(String version)
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system will use the most recent version by default.
version
- A specific version of the Amazon S3 object that represents the bundled artifacts for the application
revision.
If the version is not specified, the system will use the most recent version by default.
public void setETag(String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
eTag
- The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
public String getETag()
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
public S3Location withETag(String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
eTag
- The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.