Interface ArtifactConfigInput.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ArtifactConfigInput.Builder,ArtifactConfigInput>, SdkBuilder<ArtifactConfigInput.Builder,ArtifactConfigInput>, SdkPojo
Enclosing class:
ArtifactConfigInput

public static interface ArtifactConfigInput.Builder extends SdkPojo, CopyableBuilder<ArtifactConfigInput.Builder,ArtifactConfigInput>
  • Method Details

    • s3Encryption

      ArtifactConfigInput.Builder s3Encryption(S3EncryptionConfig s3Encryption)

      A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. Artifact encryption functionality is available only for canaries that use Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more information, see Encrypting canary artifacts

      Parameters:
      s3Encryption - A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. Artifact encryption functionality is available only for canaries that use Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more information, see Encrypting canary artifacts
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Encryption

      default ArtifactConfigInput.Builder s3Encryption(Consumer<S3EncryptionConfig.Builder> s3Encryption)

      A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. Artifact encryption functionality is available only for canaries that use Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more information, see Encrypting canary artifacts

      This is a convenience method that creates an instance of the S3EncryptionConfig.Builder avoiding the need to create one manually via S3EncryptionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3Encryption(S3EncryptionConfig).

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