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

com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.s3control.inputs;

import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs;
import com.pulumi.aws.s3control.inputs.StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class StorageLensConfigurationStorageLensConfigurationAccountLevelArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageLensConfigurationStorageLensConfigurationAccountLevelArgs Empty = new StorageLensConfigurationStorageLensConfigurationAccountLevelArgs();

    /**
     * S3 Storage Lens activity metrics. See Activity Metrics below for more details.
     * 
     */
    @Import(name="activityMetrics")
    private @Nullable Output activityMetrics;

    /**
     * @return S3 Storage Lens activity metrics. See Activity Metrics below for more details.
     * 
     */
    public Optional> activityMetrics() {
        return Optional.ofNullable(this.activityMetrics);
    }

    /**
     * Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
     * 
     */
    @Import(name="advancedCostOptimizationMetrics")
    private @Nullable Output advancedCostOptimizationMetrics;

    /**
     * @return Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
     * 
     */
    public Optional> advancedCostOptimizationMetrics() {
        return Optional.ofNullable(this.advancedCostOptimizationMetrics);
    }

    /**
     * Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
     * 
     */
    @Import(name="advancedDataProtectionMetrics")
    private @Nullable Output advancedDataProtectionMetrics;

    /**
     * @return Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
     * 
     */
    public Optional> advancedDataProtectionMetrics() {
        return Optional.ofNullable(this.advancedDataProtectionMetrics);
    }

    /**
     * S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
     * 
     */
    @Import(name="bucketLevel", required=true)
    private Output bucketLevel;

    /**
     * @return S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
     * 
     */
    public Output bucketLevel() {
        return this.bucketLevel;
    }

    /**
     * Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
     * 
     */
    @Import(name="detailedStatusCodeMetrics")
    private @Nullable Output detailedStatusCodeMetrics;

    /**
     * @return Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
     * 
     */
    public Optional> detailedStatusCodeMetrics() {
        return Optional.ofNullable(this.detailedStatusCodeMetrics);
    }

    private StorageLensConfigurationStorageLensConfigurationAccountLevelArgs() {}

    private StorageLensConfigurationStorageLensConfigurationAccountLevelArgs(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs $) {
        this.activityMetrics = $.activityMetrics;
        this.advancedCostOptimizationMetrics = $.advancedCostOptimizationMetrics;
        this.advancedDataProtectionMetrics = $.advancedDataProtectionMetrics;
        this.bucketLevel = $.bucketLevel;
        this.detailedStatusCodeMetrics = $.detailedStatusCodeMetrics;
    }

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

    public static final class Builder {
        private StorageLensConfigurationStorageLensConfigurationAccountLevelArgs $;

        public Builder() {
            $ = new StorageLensConfigurationStorageLensConfigurationAccountLevelArgs();
        }

        public Builder(StorageLensConfigurationStorageLensConfigurationAccountLevelArgs defaults) {
            $ = new StorageLensConfigurationStorageLensConfigurationAccountLevelArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param activityMetrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder activityMetrics(@Nullable Output activityMetrics) {
            $.activityMetrics = activityMetrics;
            return this;
        }

        /**
         * @param activityMetrics S3 Storage Lens activity metrics. See Activity Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder activityMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelActivityMetricsArgs activityMetrics) {
            return activityMetrics(Output.of(activityMetrics));
        }

        /**
         * @param advancedCostOptimizationMetrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder advancedCostOptimizationMetrics(@Nullable Output advancedCostOptimizationMetrics) {
            $.advancedCostOptimizationMetrics = advancedCostOptimizationMetrics;
            return this;
        }

        /**
         * @param advancedCostOptimizationMetrics Advanced cost-optimization metrics for S3 Storage Lens. See Advanced Cost-Optimization Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder advancedCostOptimizationMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedCostOptimizationMetricsArgs advancedCostOptimizationMetrics) {
            return advancedCostOptimizationMetrics(Output.of(advancedCostOptimizationMetrics));
        }

        /**
         * @param advancedDataProtectionMetrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder advancedDataProtectionMetrics(@Nullable Output advancedDataProtectionMetrics) {
            $.advancedDataProtectionMetrics = advancedDataProtectionMetrics;
            return this;
        }

        /**
         * @param advancedDataProtectionMetrics Advanced data-protection metrics for S3 Storage Lens. See Advanced Data-Protection Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder advancedDataProtectionMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelAdvancedDataProtectionMetricsArgs advancedDataProtectionMetrics) {
            return advancedDataProtectionMetrics(Output.of(advancedDataProtectionMetrics));
        }

        /**
         * @param bucketLevel S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
         * 
         * @return builder
         * 
         */
        public Builder bucketLevel(Output bucketLevel) {
            $.bucketLevel = bucketLevel;
            return this;
        }

        /**
         * @param bucketLevel S3 Storage Lens bucket-level configuration. See Bucket Level below for more details.
         * 
         * @return builder
         * 
         */
        public Builder bucketLevel(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelArgs bucketLevel) {
            return bucketLevel(Output.of(bucketLevel));
        }

        /**
         * @param detailedStatusCodeMetrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder detailedStatusCodeMetrics(@Nullable Output detailedStatusCodeMetrics) {
            $.detailedStatusCodeMetrics = detailedStatusCodeMetrics;
            return this;
        }

        /**
         * @param detailedStatusCodeMetrics Detailed status code metrics for S3 Storage Lens. See Detailed Status Code Metrics below for more details.
         * 
         * @return builder
         * 
         */
        public Builder detailedStatusCodeMetrics(StorageLensConfigurationStorageLensConfigurationAccountLevelDetailedStatusCodeMetricsArgs detailedStatusCodeMetrics) {
            return detailedStatusCodeMetrics(Output.of(detailedStatusCodeMetrics));
        }

        public StorageLensConfigurationStorageLensConfigurationAccountLevelArgs build() {
            if ($.bucketLevel == null) {
                throw new MissingRequiredPropertyException("StorageLensConfigurationStorageLensConfigurationAccountLevelArgs", "bucketLevel");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy