public class ArtifactStore
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private EncryptionKey |
encryptionKey
The encryption key used to encrypt the data in the artifact store, such
as an AWS Key Management Service (AWS KMS) key.
|
private java.lang.String |
location
The location for storing the artifacts for a pipeline, such as an S3
bucket or folder.
|
private java.lang.String |
type
The type of the artifact store, such as S3.
|
Constructor and Description |
---|
ArtifactStore() |
Modifier and Type | Method and Description |
---|---|
ArtifactStore |
clone() |
boolean |
equals(java.lang.Object obj) |
EncryptionKey |
getEncryptionKey()
The encryption key used to encrypt the data in the artifact store, such
as an AWS Key Management Service (AWS KMS) key.
|
java.lang.String |
getLocation()
The location for storing the artifacts for a pipeline, such as an S3
bucket or folder.
|
java.lang.String |
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(java.lang.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 |
setType(java.lang.String type)
The type of the artifact store, such as S3.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ArtifactStore |
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.
|
ArtifactStore |
withLocation(java.lang.String location)
The location for storing the artifacts for a pipeline, such as an S3
bucket or folder.
|
ArtifactStore |
withType(ArtifactStoreType type)
The type of the artifact store, such as S3.
|
ArtifactStore |
withType(java.lang.String type)
The type of the artifact store, such as S3.
|
private java.lang.String type
The type of the artifact store, such as S3.
private java.lang.String location
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
private EncryptionKey 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.
public void setType(java.lang.String type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
public java.lang.String getType()
The type of the artifact store, such as S3.
ArtifactStoreType
public ArtifactStore withType(java.lang.String type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
public void setType(ArtifactStoreType type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
public ArtifactStore withType(ArtifactStoreType type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
public void setLocation(java.lang.String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
location
- The location for storing the artifacts for a pipeline, such as an
S3 bucket or folder.public java.lang.String getLocation()
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
public ArtifactStore withLocation(java.lang.String location)
The location for storing the artifacts for a pipeline, such as an S3 bucket or folder.
location
- The location for storing the artifacts for a pipeline, such as an
S3 bucket or folder.public 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. If this is undefined, the default key for Amazon S3 is used.
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.public EncryptionKey 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.
public ArtifactStore 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. If this is undefined, the default key for Amazon S3 is used.
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.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 ArtifactStore clone()
clone
in class java.lang.Object