public class S3Location extends Object implements Serializable, Cloneable
Information about the location of application artifacts that are 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 |
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 String getBucket()
public void setBucket(String bucket)
bucket
- The name of the Amazon S3 bucket where the application revision is
stored.public S3Location withBucket(String bucket)
Returns a reference to this object so that method calls can be chained together.
bucket
- The name of the Amazon S3 bucket where the application revision is
stored.public String getKey()
public void setKey(String key)
key
- The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.public S3Location withKey(String key)
Returns a reference to this object so that method calls can be chained together.
key
- The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.public String getBundleType()
Constraints:
Allowed Values: tar, tgz, zip
BundleType
public void setBundleType(String bundleType)
Constraints:
Allowed Values: tar, tgz, zip
bundleType
- The file type of the application revision. Must be one of the
following: BundleType
public S3Location withBundleType(String bundleType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tar, tgz, zip
bundleType
- The file type of the application revision. Must be one of the
following: BundleType
public void setBundleType(BundleType bundleType)
Constraints:
Allowed Values: tar, tgz, zip
bundleType
- The file type of the application revision. Must be one of the
following: BundleType
public S3Location withBundleType(BundleType bundleType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: tar, tgz, zip
bundleType
- The file type of the application revision. Must be one of the
following: BundleType
public String getVersion()
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 void setVersion(String version)
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 S3Location withVersion(String version)
If the version is not specified, the system will use the most recent version by default.
Returns a reference to this object so that method calls can be chained together.
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 getETag()
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 void setETag(String eTag)
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 S3Location withETag(String eTag)
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2015. All rights reserved.