public class S3Location
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about the location of application artifacts stored in Amazon S3.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucket
The name of the Amazon S3 bucket where the application revision is
stored.
|
private java.lang.String |
bundleType
The file type of the application revision.
|
private java.lang.String |
eTag
The ETag of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
private java.lang.String |
key
The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
private java.lang.String |
version
A specific version of the Amazon S3 object that represents the bundled
artifacts for the application revision.
|
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBucket()
The name of the Amazon S3 bucket where the application revision is
stored.
|
java.lang.String |
getBundleType()
The file type of the application revision.
|
java.lang.String |
getETag()
The ETag of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
java.lang.String |
getKey()
The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
java.lang.String |
getVersion()
A specific version of the Amazon S3 object that represents the bundled
artifacts for the application revision.
|
int |
hashCode() |
void |
setBucket(java.lang.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(java.lang.String bundleType)
The file type of the application revision.
|
void |
setETag(java.lang.String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
void |
setKey(java.lang.String key)
The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
void |
setVersion(java.lang.String version)
A specific version of the Amazon S3 object that represents the bundled
artifacts for the application revision.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3Location |
withBucket(java.lang.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(java.lang.String bundleType)
The file type of the application revision.
|
S3Location |
withETag(java.lang.String eTag)
The ETag of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
S3Location |
withKey(java.lang.String key)
The name of the Amazon S3 object that represents the bundled artifacts
for the application revision.
|
S3Location |
withVersion(java.lang.String version)
A specific version of the Amazon S3 object that represents the bundled
artifacts for the application revision.
|
private java.lang.String bucket
The name of the Amazon S3 bucket where the application revision is stored.
private java.lang.String key
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
private java.lang.String bundleType
The file type of the application revision. Must be one of the following:
private java.lang.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.
private java.lang.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.
public void setBucket(java.lang.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 java.lang.String getBucket()
The name of the Amazon S3 bucket where the application revision is stored.
public S3Location withBucket(java.lang.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(java.lang.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 java.lang.String getKey()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
public S3Location withKey(java.lang.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(java.lang.String bundleType)
The file type of the application revision. Must be one of the following:
bundleType
- The file type of the application revision. Must be one of the
following:
BundleType
public java.lang.String getBundleType()
The file type of the application revision. Must be one of the following:
BundleType
public S3Location withBundleType(java.lang.String bundleType)
The file type of the application revision. Must be one of the following:
bundleType
- The file type of the application revision. Must be one of the
following:
BundleType
public void setBundleType(BundleType bundleType)
The file type of the application revision. Must be one of the following:
bundleType
- The file type of the application revision. Must be one of the
following:
BundleType
public S3Location withBundleType(BundleType bundleType)
The file type of the application revision. Must be one of the following:
bundleType
- The file type of the application revision. Must be one of the
following:
BundleType
public void setVersion(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public S3Location clone()
clone
in class java.lang.Object