All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.securitylake.outputs.DataLakeConfiguration Maven / Gradle / Ivy

// *** 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.securitylake.outputs;

import com.pulumi.aws.securitylake.outputs.DataLakeConfigurationEncryptionConfiguration;
import com.pulumi.aws.securitylake.outputs.DataLakeConfigurationLifecycleConfiguration;
import com.pulumi.aws.securitylake.outputs.DataLakeConfigurationReplicationConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DataLakeConfiguration {
    /**
     * @return Provides encryption details of Amazon Security Lake object.
     * 
     */
    private @Nullable List encryptionConfigurations;
    /**
     * @return Provides lifecycle details of Amazon Security Lake object.
     * 
     */
    private @Nullable DataLakeConfigurationLifecycleConfiguration lifecycleConfiguration;
    /**
     * @return The AWS Regions where Security Lake is automatically enabled.
     * 
     */
    private String region;
    /**
     * @return Provides replication details of Amazon Security Lake object.
     * 
     */
    private @Nullable DataLakeConfigurationReplicationConfiguration replicationConfiguration;

    private DataLakeConfiguration() {}
    /**
     * @return Provides encryption details of Amazon Security Lake object.
     * 
     */
    public List encryptionConfigurations() {
        return this.encryptionConfigurations == null ? List.of() : this.encryptionConfigurations;
    }
    /**
     * @return Provides lifecycle details of Amazon Security Lake object.
     * 
     */
    public Optional lifecycleConfiguration() {
        return Optional.ofNullable(this.lifecycleConfiguration);
    }
    /**
     * @return The AWS Regions where Security Lake is automatically enabled.
     * 
     */
    public String region() {
        return this.region;
    }
    /**
     * @return Provides replication details of Amazon Security Lake object.
     * 
     */
    public Optional replicationConfiguration() {
        return Optional.ofNullable(this.replicationConfiguration);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(DataLakeConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List encryptionConfigurations;
        private @Nullable DataLakeConfigurationLifecycleConfiguration lifecycleConfiguration;
        private String region;
        private @Nullable DataLakeConfigurationReplicationConfiguration replicationConfiguration;
        public Builder() {}
        public Builder(DataLakeConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.encryptionConfigurations = defaults.encryptionConfigurations;
    	      this.lifecycleConfiguration = defaults.lifecycleConfiguration;
    	      this.region = defaults.region;
    	      this.replicationConfiguration = defaults.replicationConfiguration;
        }

        @CustomType.Setter
        public Builder encryptionConfigurations(@Nullable List encryptionConfigurations) {

            this.encryptionConfigurations = encryptionConfigurations;
            return this;
        }
        public Builder encryptionConfigurations(DataLakeConfigurationEncryptionConfiguration... encryptionConfigurations) {
            return encryptionConfigurations(List.of(encryptionConfigurations));
        }
        @CustomType.Setter
        public Builder lifecycleConfiguration(@Nullable DataLakeConfigurationLifecycleConfiguration lifecycleConfiguration) {

            this.lifecycleConfiguration = lifecycleConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder region(String region) {
            if (region == null) {
              throw new MissingRequiredPropertyException("DataLakeConfiguration", "region");
            }
            this.region = region;
            return this;
        }
        @CustomType.Setter
        public Builder replicationConfiguration(@Nullable DataLakeConfigurationReplicationConfiguration replicationConfiguration) {

            this.replicationConfiguration = replicationConfiguration;
            return this;
        }
        public DataLakeConfiguration build() {
            final var _resultValue = new DataLakeConfiguration();
            _resultValue.encryptionConfigurations = encryptionConfigurations;
            _resultValue.lifecycleConfiguration = lifecycleConfiguration;
            _resultValue.region = region;
            _resultValue.replicationConfiguration = replicationConfiguration;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy