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

com.pulumi.aws.s3control.outputs.StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria {
    /**
     * @return The delimiter of the selection criteria being used.
     * 
     */
    private @Nullable String delimiter;
    /**
     * @return The max depth of the selection criteria.
     * 
     */
    private @Nullable Integer maxDepth;
    /**
     * @return The minimum number of storage bytes percentage whose metrics will be selected.
     * 
     */
    private @Nullable Double minStorageBytesPercentage;

    private StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria() {}
    /**
     * @return The delimiter of the selection criteria being used.
     * 
     */
    public Optional delimiter() {
        return Optional.ofNullable(this.delimiter);
    }
    /**
     * @return The max depth of the selection criteria.
     * 
     */
    public Optional maxDepth() {
        return Optional.ofNullable(this.maxDepth);
    }
    /**
     * @return The minimum number of storage bytes percentage whose metrics will be selected.
     * 
     */
    public Optional minStorageBytesPercentage() {
        return Optional.ofNullable(this.minStorageBytesPercentage);
    }

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

    public static Builder builder(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String delimiter;
        private @Nullable Integer maxDepth;
        private @Nullable Double minStorageBytesPercentage;
        public Builder() {}
        public Builder(StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.delimiter = defaults.delimiter;
    	      this.maxDepth = defaults.maxDepth;
    	      this.minStorageBytesPercentage = defaults.minStorageBytesPercentage;
        }

        @CustomType.Setter
        public Builder delimiter(@Nullable String delimiter) {

            this.delimiter = delimiter;
            return this;
        }
        @CustomType.Setter
        public Builder maxDepth(@Nullable Integer maxDepth) {

            this.maxDepth = maxDepth;
            return this;
        }
        @CustomType.Setter
        public Builder minStorageBytesPercentage(@Nullable Double minStorageBytesPercentage) {

            this.minStorageBytesPercentage = minStorageBytesPercentage;
            return this;
        }
        public StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria build() {
            final var _resultValue = new StorageLensConfigurationStorageLensConfigurationAccountLevelBucketLevelPrefixLevelStorageMetricsSelectionCriteria();
            _resultValue.delimiter = delimiter;
            _resultValue.maxDepth = maxDepth;
            _resultValue.minStorageBytesPercentage = minStorageBytesPercentage;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy