Class S3ArtifactLocation
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.S3ArtifactLocation
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class S3ArtifactLocation extends Object implements Serializable, Cloneable
The location of the Amazon S3 bucket that contains a revision.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description S3ArtifactLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
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.
-
-
-
Method Detail
-
setBucketName
public void setBucketName(String bucketName)
The name of the Amazon S3 bucket.
- Parameters:
bucketName
- The name of the Amazon S3 bucket.
-
getBucketName
public String getBucketName()
The name of the Amazon S3 bucket.
- Returns:
- The name of the Amazon S3 bucket.
-
withBucketName
public S3ArtifactLocation withBucketName(String bucketName)
The name of the Amazon S3 bucket.
- Parameters:
bucketName
- The name of the Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setObjectKey
public void setObjectKey(String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
- Parameters:
objectKey
- The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
-
getObjectKey
public String getObjectKey()
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
- Returns:
- The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
-
withObjectKey
public S3ArtifactLocation withObjectKey(String objectKey)
The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
- Parameters:
objectKey
- The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public S3ArtifactLocation clone()
-
-