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