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

com.pulumi.azurenative.awsconnector.outputs.AwsAccessAnalyzerAnalyzerPropertiesResponse 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.azurenative.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.ArchiveRuleResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagResponse;
import com.pulumi.azurenative.awsconnector.outputs.UnusedAccessConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AwsAccessAnalyzerAnalyzerPropertiesResponse {
    /**
     * @return The configuration for the analyzer
     * 
     */
    private @Nullable UnusedAccessConfigurationResponse analyzerConfiguration;
    /**
     * @return Analyzer name
     * 
     */
    private @Nullable String analyzerName;
    /**
     * @return Property archiveRules
     * 
     */
    private @Nullable List archiveRules;
    /**
     * @return Amazon Resource Name (ARN) of the analyzer
     * 
     */
    private @Nullable String arn;
    /**
     * @return An array of key-value pairs to apply to this resource.
     * 
     */
    private @Nullable List tags;
    /**
     * @return The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
     * 
     */
    private @Nullable String type;

    private AwsAccessAnalyzerAnalyzerPropertiesResponse() {}
    /**
     * @return The configuration for the analyzer
     * 
     */
    public Optional analyzerConfiguration() {
        return Optional.ofNullable(this.analyzerConfiguration);
    }
    /**
     * @return Analyzer name
     * 
     */
    public Optional analyzerName() {
        return Optional.ofNullable(this.analyzerName);
    }
    /**
     * @return Property archiveRules
     * 
     */
    public List archiveRules() {
        return this.archiveRules == null ? List.of() : this.archiveRules;
    }
    /**
     * @return Amazon Resource Name (ARN) of the analyzer
     * 
     */
    public Optional arn() {
        return Optional.ofNullable(this.arn);
    }
    /**
     * @return An array of key-value pairs to apply to this resource.
     * 
     */
    public List tags() {
        return this.tags == null ? List.of() : this.tags;
    }
    /**
     * @return The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(AwsAccessAnalyzerAnalyzerPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable UnusedAccessConfigurationResponse analyzerConfiguration;
        private @Nullable String analyzerName;
        private @Nullable List archiveRules;
        private @Nullable String arn;
        private @Nullable List tags;
        private @Nullable String type;
        public Builder() {}
        public Builder(AwsAccessAnalyzerAnalyzerPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.analyzerConfiguration = defaults.analyzerConfiguration;
    	      this.analyzerName = defaults.analyzerName;
    	      this.archiveRules = defaults.archiveRules;
    	      this.arn = defaults.arn;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder analyzerConfiguration(@Nullable UnusedAccessConfigurationResponse analyzerConfiguration) {

            this.analyzerConfiguration = analyzerConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder analyzerName(@Nullable String analyzerName) {

            this.analyzerName = analyzerName;
            return this;
        }
        @CustomType.Setter
        public Builder archiveRules(@Nullable List archiveRules) {

            this.archiveRules = archiveRules;
            return this;
        }
        public Builder archiveRules(ArchiveRuleResponse... archiveRules) {
            return archiveRules(List.of(archiveRules));
        }
        @CustomType.Setter
        public Builder arn(@Nullable String arn) {

            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable List tags) {

            this.tags = tags;
            return this;
        }
        public Builder tags(TagResponse... tags) {
            return tags(List.of(tags));
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public AwsAccessAnalyzerAnalyzerPropertiesResponse build() {
            final var _resultValue = new AwsAccessAnalyzerAnalyzerPropertiesResponse();
            _resultValue.analyzerConfiguration = analyzerConfiguration;
            _resultValue.analyzerName = analyzerName;
            _resultValue.archiveRules = archiveRules;
            _resultValue.arn = arn;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy