Interface ArtifactStore.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ArtifactStore.Builder,ArtifactStore>,SdkBuilder<ArtifactStore.Builder,ArtifactStore>,SdkPojo
- Enclosing class:
- ArtifactStore
public static interface ArtifactStore.Builder extends SdkPojo, CopyableBuilder<ArtifactStore.Builder,ArtifactStore>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ArtifactStore.BuilderencryptionKey(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.ArtifactStore.BuilderencryptionKey(EncryptionKey encryptionKey)The encryption key used to encrypt the data in the artifact store, such as an Amazon Web Services Key Management Service key.ArtifactStore.Builderlocation(String location)The S3 bucket used for storing the artifacts for a pipeline.ArtifactStore.Buildertype(String type)The type of the artifact store, such as S3.ArtifactStore.Buildertype(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
ArtifactStore.Builder type(String 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:
ArtifactStoreType,ArtifactStoreType
-
type
ArtifactStore.Builder type(ArtifactStoreType 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:
ArtifactStoreType,ArtifactStoreType
-
location
ArtifactStore.Builder location(String 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
ArtifactStore.Builder 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. 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
default 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. If this is undefined, the default key for Amazon S3 is used.
This is a convenience method that creates an instance of theEncryptionKey.Builderavoiding the need to create one manually viaEncryptionKey.builder().When the
Consumercompletes,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:
encryptionKey(EncryptionKey)
-
-