public CreateCanaryRequest withArtifactConfig(ArtifactConfigInput artifactConfig) {
        setArtifactConfig(artifactConfig);
        return this;
    }
<p>
A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for
artifacts that the canary uploads to Amazon S3.
</p>

@param artifactConfig
       A structure that contains the configuration for canary artifacts, including the encryption-at-rest
       settings for artifacts that the canary uploads to Amazon S3.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/CreateCanaryRequest.java