@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactStore extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ArtifactStore() |
Modifier and Type | Method and Description |
---|---|
ArtifactStore |
clone() |
boolean |
equals(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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
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 encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS
KMS) key.
|
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 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 String toString()
toString
in class Object
Object.toString()
public ArtifactStore clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.