@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactStore extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon S3 bucket where artifacts are stored for the pipeline.
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 Amazon S3 bucket used for storing the artifacts for a pipeline.
|
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 Amazon S3 bucket used for storing the artifacts for a pipeline.
|
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 Amazon S3 bucket used for storing the artifacts for a pipeline.
|
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 Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.
location
- The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3
bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you
based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline
to store your pipeline artifacts.public String getLocation()
The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.
public ArtifactStore withLocation(String location)
The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.
location
- The Amazon S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3
bucket but not a folder within the bucket. A folder to contain the pipeline artifacts is created for you
based on the name of the pipeline. You can use any Amazon S3 bucket in the same AWS Region as the pipeline
to store your pipeline artifacts.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.