Interface ArtifactStore.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArtifactStore.Builder,
,ArtifactStore> SdkBuilder<ArtifactStore.Builder,
,ArtifactStore> SdkPojo
- Enclosing class:
ArtifactStore
-
Method Summary
Modifier and TypeMethodDescriptiondefault ArtifactStore.Builder
encryptionKey
(Consumer<EncryptionKey.Builder> encryptionKey) The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key.encryptionKey
(EncryptionKey encryptionKey) The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key.The S3 bucket used for storing the artifacts for a pipeline.The type of the artifact store, such as S3.type
(ArtifactStoreType type) The type of the artifact store, such as S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the artifact store, such as S3.
- Parameters:
type
- The type of the artifact store, such as S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.
- Parameters:
location
- The S3 bucket used for storing the artifacts for a pipeline. You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same Amazon Web Services Region as the pipeline to store your pipeline artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.
- Parameters:
encryptionKey
- The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key. If this is undefined, the default key for Amazon S3 is used.
This is a convenience method that creates an instance of theEncryptionKey.Builder
avoiding the need to create one manually viaEncryptionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionKey(EncryptionKey)
.- Parameters:
encryptionKey
- a consumer that will call methods onEncryptionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-