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 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

      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 the EncryptionKey.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).

      Parameters:
      encryptionKey - a consumer that will call methods on EncryptionKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: