Interface ArtifactConfigInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ArtifactConfigInput.Builder,
,ArtifactConfigInput> SdkBuilder<ArtifactConfigInput.Builder,
,ArtifactConfigInput> SdkPojo
- Enclosing class:
ArtifactConfigInput
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.s3Encryption
(S3EncryptionConfig s3Encryption) A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon 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
-
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
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 theS3EncryptionConfig.Builder
avoiding the need to create one manually viaS3EncryptionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Encryption(S3EncryptionConfig)
.- Parameters:
s3Encryption
- a consumer that will call methods onS3EncryptionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-