Class S3ArtifactLocation
java.lang.Object
com.amazonaws.services.codepipeline.model.S3ArtifactLocation
- All Implemented Interfaces:
Serializable
,Cloneable
The location of the Amazon S3 bucket that contains a revision.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the Amazon S3 bucket.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.toString()
Returns a string representation of this object; useful for testing and debugging.withBucketName
(String bucketName) The name of the Amazon S3 bucket.withObjectKey
(String objectKey) The key of the object in the Amazon S3 bucket, which uniquely identifies the object in the bucket.
-
Constructor Details
-
S3ArtifactLocation
public S3ArtifactLocation()
-
-
Method Details
-
setBucketName
The name of the Amazon S3 bucket.
- Parameters:
bucketName
- The name of the Amazon S3 bucket.
-
getBucketName
The name of the Amazon S3 bucket.
- Returns:
- The name of the Amazon S3 bucket.
-
withBucketName
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-