Class ArtifactStore
- All Implemented Interfaces:
Serializable
,Cloneable
The Amazon S3 location where artifacts are stored for the pipeline. If this Amazon S3 bucket is created manually, it must meet the requirements for AWS CodePipeline. For more information, see the Concepts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.getType()
The type of the artifact store, such as S3.int
hashCode()
void
setEncryptionKey
(EncryptionKey encryptionKey) The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.void
setLocation
(String location) The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.void
setType
(ArtifactStoreType type) The type of the artifact store, such as S3.void
The type of the artifact store, such as S3.toString()
Returns a string representation of this object; useful for testing and debugging.withEncryptionKey
(EncryptionKey encryptionKey) The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.withLocation
(String location) The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.withType
(ArtifactStoreType type) The type of the artifact store, such as S3.The type of the artifact store, such as S3.
-
Constructor Details
-
ArtifactStore
public ArtifactStore()
-
-
Method Details
-
setType
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- See Also:
-
getType
The type of the artifact store, such as S3.
- Returns:
- The type of the artifact store, such as S3.
- See Also:
-
withType
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- See Also:
-
withType
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLocation
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Parameters:
location
- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
-
getLocation
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Returns:
- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
-
withLocation
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
- Parameters:
location
- The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEncryptionKey
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Parameters:
encryptionKey
- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
-
getEncryptionKey
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Returns:
- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
-
withEncryptionKey
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.
- Parameters:
encryptionKey
- The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If this is undefined, the default key for Amazon S3 is used.- 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
-