com.pulumi.aws.synthetics.outputs.CanaryArtifactConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.synthetics.outputs;
import com.pulumi.aws.synthetics.outputs.CanaryArtifactConfigS3Encryption;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CanaryArtifactConfig {
/**
* @return Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
*
*/
private @Nullable CanaryArtifactConfigS3Encryption s3Encryption;
private CanaryArtifactConfig() {}
/**
* @return Configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. See S3 Encryption.
*
*/
public Optional s3Encryption() {
return Optional.ofNullable(this.s3Encryption);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CanaryArtifactConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable CanaryArtifactConfigS3Encryption s3Encryption;
public Builder() {}
public Builder(CanaryArtifactConfig defaults) {
Objects.requireNonNull(defaults);
this.s3Encryption = defaults.s3Encryption;
}
@CustomType.Setter
public Builder s3Encryption(@Nullable CanaryArtifactConfigS3Encryption s3Encryption) {
this.s3Encryption = s3Encryption;
return this;
}
public CanaryArtifactConfig build() {
final var _resultValue = new CanaryArtifactConfig();
_resultValue.s3Encryption = s3Encryption;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy