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

com.pulumi.alicloud.alb.outputs.GetSystemSecurityPoliciesResult Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.alb.outputs;

import com.pulumi.alicloud.alb.outputs.GetSystemSecurityPoliciesPolicy;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetSystemSecurityPoliciesResult {
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A list of System Security Policy IDs.
     * 
     */
    private List ids;
    private @Nullable String outputFile;
    /**
     * @return A list of ALB Security Policies. Each element contains the following attributes:
     * 
     */
    private List policies;
    private @Nullable Map tags;

    private GetSystemSecurityPoliciesResult() {}
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A list of System Security Policy IDs.
     * 
     */
    public List ids() {
        return this.ids;
    }
    public Optional outputFile() {
        return Optional.ofNullable(this.outputFile);
    }
    /**
     * @return A list of ALB Security Policies. Each element contains the following attributes:
     * 
     */
    public List policies() {
        return this.policies;
    }
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }

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

    public static Builder builder(GetSystemSecurityPoliciesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String id;
        private List ids;
        private @Nullable String outputFile;
        private List policies;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(GetSystemSecurityPoliciesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.outputFile = defaults.outputFile;
    	      this.policies = defaults.policies;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetSystemSecurityPoliciesResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ids(List ids) {
            if (ids == null) {
              throw new MissingRequiredPropertyException("GetSystemSecurityPoliciesResult", "ids");
            }
            this.ids = ids;
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder outputFile(@Nullable String outputFile) {

            this.outputFile = outputFile;
            return this;
        }
        @CustomType.Setter
        public Builder policies(List policies) {
            if (policies == null) {
              throw new MissingRequiredPropertyException("GetSystemSecurityPoliciesResult", "policies");
            }
            this.policies = policies;
            return this;
        }
        public Builder policies(GetSystemSecurityPoliciesPolicy... policies) {
            return policies(List.of(policies));
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        public GetSystemSecurityPoliciesResult build() {
            final var _resultValue = new GetSystemSecurityPoliciesResult();
            _resultValue.id = id;
            _resultValue.ids = ids;
            _resultValue.outputFile = outputFile;
            _resultValue.policies = policies;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy