@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3ArtifactLocation extends Object implements Serializable, Cloneable, StructuredPojo
The location of the Amazon S3 bucket that contains a revision.
Constructor and Description |
---|
S3ArtifactLocation() |
Modifier and Type | Method and Description |
---|---|
S3ArtifactLocation |
clone() |
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the Amazon S3 bucket.
|
String |
getObjectKey()
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketName(String bucketName)
The name of the Amazon S3 bucket.
|
void |
setObjectKey(String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
S3ArtifactLocation |
withBucketName(String bucketName)
The name of the Amazon S3 bucket.
|
S3ArtifactLocation |
withObjectKey(String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
|
public void setBucketName(String bucketName)
The name of the Amazon S3 bucket.
bucketName
- The name of the Amazon S3 bucket.public String getBucketName()
The name of the Amazon S3 bucket.
public S3ArtifactLocation withBucketName(String bucketName)
The name of the Amazon S3 bucket.
bucketName
- The name of the Amazon S3 bucket.public void setObjectKey(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 String getObjectKey()
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
public S3ArtifactLocation withObjectKey(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 String toString()
toString
in class Object
Object.toString()
public S3ArtifactLocation 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.