public class S3ArtifactLocation
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The location of the Amazon S3 bucket that contains a revision.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bucketName
The name of the Amazon S3 bucket.
|
private java.lang.String |
objectKey
The key of the object in the Amazon S3 bucket, which uniquely identifies
the object in the bucket.
|
Constructor and Description |
---|
S3ArtifactLocation() |
Modifier and Type | Method and Description |
---|---|
S3ArtifactLocation |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBucketName()
The name of the Amazon S3 bucket.
|
java.lang.String |
getObjectKey()
The key of the object in the Amazon S3 bucket, which uniquely identifies
the object in the bucket.
|
int |
hashCode() |
void |
setBucketName(java.lang.String bucketName)
The name of the Amazon S3 bucket.
|
void |
setObjectKey(java.lang.String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies
the object in the bucket.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
S3ArtifactLocation |
withBucketName(java.lang.String bucketName)
The name of the Amazon S3 bucket.
|
S3ArtifactLocation |
withObjectKey(java.lang.String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies
the object in the bucket.
|
private java.lang.String bucketName
The name of the Amazon S3 bucket.
private java.lang.String objectKey
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
public void setBucketName(java.lang.String bucketName)
The name of the Amazon S3 bucket.
bucketName
- The name of the Amazon S3 bucket.public java.lang.String getBucketName()
The name of the Amazon S3 bucket.
public S3ArtifactLocation withBucketName(java.lang.String bucketName)
The name of the Amazon S3 bucket.
bucketName
- The name of the Amazon S3 bucket.public void setObjectKey(java.lang.String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
objectKey
- The key of the object in the Amazon S3 bucket, which uniquely
identifies the object in the bucket.public java.lang.String getObjectKey()
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
public S3ArtifactLocation withObjectKey(java.lang.String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
objectKey
- The key of the object in the Amazon S3 bucket, which uniquely
identifies the object in the bucket.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 S3ArtifactLocation clone()
clone
in class java.lang.Object