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

com.pulumi.cloudngfwaws.outputs.GetNgfwResult Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha.1731490948
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.cloudngfwaws.outputs;

import com.pulumi.cloudngfwaws.outputs.GetNgfwStatus;
import com.pulumi.cloudngfwaws.outputs.GetNgfwSubnetMapping;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
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 GetNgfwResult {
    /**
     * @return The account ID. This field is mandatory if using multiple accounts.
     * 
     */
    private @Nullable String accountId;
    /**
     * @return App-ID version number.
     * 
     */
    private String appIdVersion;
    /**
     * @return Automatic App-ID upgrade version number.
     * 
     */
    private Boolean automaticUpgradeAppIdVersion;
    /**
     * @return The description.
     * 
     */
    private String description;
    /**
     * @return Set endpoint mode from the following options. Valid values are `ServiceManaged` or `CustomerManaged`.
     * 
     */
    private String endpointMode;
    /**
     * @return The endpoint service name.
     * 
     */
    private String endpointServiceName;
    /**
     * @return The Id of the NGFW.
     * 
     */
    private String firewallId;
    /**
     * @return The global rulestack for this NGFW.
     * 
     */
    private String globalRulestack;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The link ID.
     * 
     */
    private String linkId;
    /**
     * @return The link status.
     * 
     */
    private String linkStatus;
    /**
     * @return Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
     * 
     */
    private Boolean multiVpc;
    /**
     * @return The NGFW name.
     * 
     */
    private String name;
    /**
     * @return The rulestack for this NGFW.
     * 
     */
    private String rulestack;
    private List statuses;
    /**
     * @return Subnet mappings.
     * 
     */
    private List subnetMappings;
    /**
     * @return The tags.
     * 
     */
    private Map tags;
    /**
     * @return The update token.
     * 
     */
    private String updateToken;
    /**
     * @return The vpc id.
     * 
     */
    private String vpcId;

    private GetNgfwResult() {}
    /**
     * @return The account ID. This field is mandatory if using multiple accounts.
     * 
     */
    public Optional accountId() {
        return Optional.ofNullable(this.accountId);
    }
    /**
     * @return App-ID version number.
     * 
     */
    public String appIdVersion() {
        return this.appIdVersion;
    }
    /**
     * @return Automatic App-ID upgrade version number.
     * 
     */
    public Boolean automaticUpgradeAppIdVersion() {
        return this.automaticUpgradeAppIdVersion;
    }
    /**
     * @return The description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return Set endpoint mode from the following options. Valid values are `ServiceManaged` or `CustomerManaged`.
     * 
     */
    public String endpointMode() {
        return this.endpointMode;
    }
    /**
     * @return The endpoint service name.
     * 
     */
    public String endpointServiceName() {
        return this.endpointServiceName;
    }
    /**
     * @return The Id of the NGFW.
     * 
     */
    public String firewallId() {
        return this.firewallId;
    }
    /**
     * @return The global rulestack for this NGFW.
     * 
     */
    public String globalRulestack() {
        return this.globalRulestack;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The link ID.
     * 
     */
    public String linkId() {
        return this.linkId;
    }
    /**
     * @return The link status.
     * 
     */
    public String linkStatus() {
        return this.linkStatus;
    }
    /**
     * @return Share NGFW with Multiple VPCs. This feature can be enabled only if the endpoint_mode is CustomerManaged.
     * 
     */
    public Boolean multiVpc() {
        return this.multiVpc;
    }
    /**
     * @return The NGFW name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The rulestack for this NGFW.
     * 
     */
    public String rulestack() {
        return this.rulestack;
    }
    public List statuses() {
        return this.statuses;
    }
    /**
     * @return Subnet mappings.
     * 
     */
    public List subnetMappings() {
        return this.subnetMappings;
    }
    /**
     * @return The tags.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return The update token.
     * 
     */
    public String updateToken() {
        return this.updateToken;
    }
    /**
     * @return The vpc id.
     * 
     */
    public String vpcId() {
        return this.vpcId;
    }

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

    public static Builder builder(GetNgfwResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String accountId;
        private String appIdVersion;
        private Boolean automaticUpgradeAppIdVersion;
        private String description;
        private String endpointMode;
        private String endpointServiceName;
        private String firewallId;
        private String globalRulestack;
        private String id;
        private String linkId;
        private String linkStatus;
        private Boolean multiVpc;
        private String name;
        private String rulestack;
        private List statuses;
        private List subnetMappings;
        private Map tags;
        private String updateToken;
        private String vpcId;
        public Builder() {}
        public Builder(GetNgfwResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accountId = defaults.accountId;
    	      this.appIdVersion = defaults.appIdVersion;
    	      this.automaticUpgradeAppIdVersion = defaults.automaticUpgradeAppIdVersion;
    	      this.description = defaults.description;
    	      this.endpointMode = defaults.endpointMode;
    	      this.endpointServiceName = defaults.endpointServiceName;
    	      this.firewallId = defaults.firewallId;
    	      this.globalRulestack = defaults.globalRulestack;
    	      this.id = defaults.id;
    	      this.linkId = defaults.linkId;
    	      this.linkStatus = defaults.linkStatus;
    	      this.multiVpc = defaults.multiVpc;
    	      this.name = defaults.name;
    	      this.rulestack = defaults.rulestack;
    	      this.statuses = defaults.statuses;
    	      this.subnetMappings = defaults.subnetMappings;
    	      this.tags = defaults.tags;
    	      this.updateToken = defaults.updateToken;
    	      this.vpcId = defaults.vpcId;
        }

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

            this.accountId = accountId;
            return this;
        }
        @CustomType.Setter
        public Builder appIdVersion(String appIdVersion) {
            if (appIdVersion == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "appIdVersion");
            }
            this.appIdVersion = appIdVersion;
            return this;
        }
        @CustomType.Setter
        public Builder automaticUpgradeAppIdVersion(Boolean automaticUpgradeAppIdVersion) {
            if (automaticUpgradeAppIdVersion == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "automaticUpgradeAppIdVersion");
            }
            this.automaticUpgradeAppIdVersion = automaticUpgradeAppIdVersion;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder endpointMode(String endpointMode) {
            if (endpointMode == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "endpointMode");
            }
            this.endpointMode = endpointMode;
            return this;
        }
        @CustomType.Setter
        public Builder endpointServiceName(String endpointServiceName) {
            if (endpointServiceName == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "endpointServiceName");
            }
            this.endpointServiceName = endpointServiceName;
            return this;
        }
        @CustomType.Setter
        public Builder firewallId(String firewallId) {
            if (firewallId == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "firewallId");
            }
            this.firewallId = firewallId;
            return this;
        }
        @CustomType.Setter
        public Builder globalRulestack(String globalRulestack) {
            if (globalRulestack == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "globalRulestack");
            }
            this.globalRulestack = globalRulestack;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder linkId(String linkId) {
            if (linkId == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "linkId");
            }
            this.linkId = linkId;
            return this;
        }
        @CustomType.Setter
        public Builder linkStatus(String linkStatus) {
            if (linkStatus == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "linkStatus");
            }
            this.linkStatus = linkStatus;
            return this;
        }
        @CustomType.Setter
        public Builder multiVpc(Boolean multiVpc) {
            if (multiVpc == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "multiVpc");
            }
            this.multiVpc = multiVpc;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder rulestack(String rulestack) {
            if (rulestack == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "rulestack");
            }
            this.rulestack = rulestack;
            return this;
        }
        @CustomType.Setter
        public Builder statuses(List statuses) {
            if (statuses == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "statuses");
            }
            this.statuses = statuses;
            return this;
        }
        public Builder statuses(GetNgfwStatus... statuses) {
            return statuses(List.of(statuses));
        }
        @CustomType.Setter
        public Builder subnetMappings(List subnetMappings) {
            if (subnetMappings == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "subnetMappings");
            }
            this.subnetMappings = subnetMappings;
            return this;
        }
        public Builder subnetMappings(GetNgfwSubnetMapping... subnetMappings) {
            return subnetMappings(List.of(subnetMappings));
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder updateToken(String updateToken) {
            if (updateToken == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "updateToken");
            }
            this.updateToken = updateToken;
            return this;
        }
        @CustomType.Setter
        public Builder vpcId(String vpcId) {
            if (vpcId == null) {
              throw new MissingRequiredPropertyException("GetNgfwResult", "vpcId");
            }
            this.vpcId = vpcId;
            return this;
        }
        public GetNgfwResult build() {
            final var _resultValue = new GetNgfwResult();
            _resultValue.accountId = accountId;
            _resultValue.appIdVersion = appIdVersion;
            _resultValue.automaticUpgradeAppIdVersion = automaticUpgradeAppIdVersion;
            _resultValue.description = description;
            _resultValue.endpointMode = endpointMode;
            _resultValue.endpointServiceName = endpointServiceName;
            _resultValue.firewallId = firewallId;
            _resultValue.globalRulestack = globalRulestack;
            _resultValue.id = id;
            _resultValue.linkId = linkId;
            _resultValue.linkStatus = linkStatus;
            _resultValue.multiVpc = multiVpc;
            _resultValue.name = name;
            _resultValue.rulestack = rulestack;
            _resultValue.statuses = statuses;
            _resultValue.subnetMappings = subnetMappings;
            _resultValue.tags = tags;
            _resultValue.updateToken = updateToken;
            _resultValue.vpcId = vpcId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy