Class S3Location
- All Implemented Interfaces:
Serializable
,Cloneable
Information about the location of application artifacts stored in Amazon S3.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the Amazon S3 bucket where the application revision is stored.The file type of the application revision.getETag()
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.getKey()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.int
hashCode()
void
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
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.void
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.toString()
Returns a string representation of this object; useful for testing and debugging.withBucket
(String bucket) The name of the Amazon S3 bucket where the application revision is stored.withBundleType
(BundleType bundleType) The file type of the application revision.withBundleType
(String bundleType) The file type of the application revision.The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.The name of the Amazon S3 object that represents the bundled artifacts for the application revision.withVersion
(String version) A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
-
Constructor Details
-
S3Location
public S3Location()
-
-
Method Details
-
setBucket
The name of the Amazon S3 bucket where the application revision is stored.
- Parameters:
bucket
- The name of the Amazon S3 bucket where the application revision is stored.
-
getBucket
The name of the Amazon S3 bucket where the application revision is stored.
- Returns:
- The name of the Amazon S3 bucket where the application revision is stored.
-
withBucket
The name of the Amazon S3 bucket where the application revision is stored.
- Parameters:
bucket
- The name of the Amazon S3 bucket where the application revision is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setKey
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
- Parameters:
key
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
-
getKey
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
- Returns:
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
-
withKey
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
- Parameters:
key
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBundleType
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.
- Parameters:
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.
- See Also:
-
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.
- Returns:
- 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.
- See Also:
-
withBundleType
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setBundleType
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.
- Parameters:
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.
- See Also:
-
withBundleType
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setVersion
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withVersion
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setETag
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withETag
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-