public static interface ArtifactStore.Builder extends CopyableBuilder<ArtifactStore.Builder,ArtifactStore>
Modifier and Type | Method and Description |
---|---|
default ArtifactStore.Builder |
encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS
KMS) key.
|
ArtifactStore.Builder |
encryptionKey(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.Builder |
location(String location)
The Amazon S3 bucket used for storing the artifacts for a pipeline.
|
ArtifactStore.Builder |
type(ArtifactStoreType type)
The type of the artifact store, such as S3.
|
ArtifactStore.Builder |
type(String type)
The type of the artifact store, such as S3.
|
copy
applyMutation, build
ArtifactStore.Builder type(String type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
,
ArtifactStoreType
ArtifactStore.Builder type(ArtifactStoreType type)
The type of the artifact store, such as S3.
type
- The type of the artifact store, such as S3.ArtifactStoreType
,
ArtifactStoreType
ArtifactStore.Builder location(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.ArtifactStore.Builder encryptionKey(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.default ArtifactStore.Builder encryptionKey(Consumer<EncryptionKey.Builder> 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.
This is a convenience that creates an instance of theEncryptionKey.Builder
avoiding the need to
create one manually via EncryptionKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryptionKey(EncryptionKey)
.encryptionKey
- a consumer that will call methods on EncryptionKey.Builder
encryptionKey(EncryptionKey)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.