Class CfnCanary.ArtifactConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.CfnCanary.ArtifactConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCanary.ArtifactConfigProperty>
- Enclosing interface:
- CfnCanary.ArtifactConfigProperty
@Stability(Stable)
public static final class CfnCanary.ArtifactConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCanary.ArtifactConfigProperty>
A builder for
CfnCanary.ArtifactConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.s3Encryption
(IResolvable s3Encryption) Sets the value ofCfnCanary.ArtifactConfigProperty.getS3Encryption()
s3Encryption
(CfnCanary.S3EncryptionProperty s3Encryption) Sets the value ofCfnCanary.ArtifactConfigProperty.getS3Encryption()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3Encryption
@Stability(Stable) public CfnCanary.ArtifactConfigProperty.Builder s3Encryption(IResolvable s3Encryption) Sets the value ofCfnCanary.ArtifactConfigProperty.getS3Encryption()
- 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:
this
-
s3Encryption
@Stability(Stable) public CfnCanary.ArtifactConfigProperty.Builder s3Encryption(CfnCanary.S3EncryptionProperty s3Encryption) Sets the value ofCfnCanary.ArtifactConfigProperty.getS3Encryption()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCanary.ArtifactConfigProperty>
- Returns:
- a new instance of
CfnCanary.ArtifactConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-