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

com.pulumi.cloudngfwaws.outputs.GetFqdnListResult 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetFqdnListResult {
    /**
     * @return The audit comment.
     * 
     */
    private String auditComment;
    /**
     * @return Retrieve either the candidate or running config. Valid values are `candidate` or `running`. Defaults to `candidate`.
     * 
     */
    private @Nullable String configType;
    /**
     * @return The description.
     * 
     */
    private String description;
    /**
     * @return The fqdn list.
     * 
     */
    private List fqdnLists;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The name.
     * 
     */
    private String name;
    /**
     * @return The rulestack.
     * 
     */
    private String rulestack;
    /**
     * @return The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
     * 
     */
    private @Nullable String scope;
    /**
     * @return The update token.
     * 
     */
    private String updateToken;

    private GetFqdnListResult() {}
    /**
     * @return The audit comment.
     * 
     */
    public String auditComment() {
        return this.auditComment;
    }
    /**
     * @return Retrieve either the candidate or running config. Valid values are `candidate` or `running`. Defaults to `candidate`.
     * 
     */
    public Optional configType() {
        return Optional.ofNullable(this.configType);
    }
    /**
     * @return The description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The fqdn list.
     * 
     */
    public List fqdnLists() {
        return this.fqdnLists;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The rulestack.
     * 
     */
    public String rulestack() {
        return this.rulestack;
    }
    /**
     * @return The rulestack's scope. A local rulestack will require that you've retrieved a LRA JWT. A global rulestack will require that you've retrieved a GRA JWT. Valid values are `Local` or `Global`. Defaults to `Local`.
     * 
     */
    public Optional scope() {
        return Optional.ofNullable(this.scope);
    }
    /**
     * @return The update token.
     * 
     */
    public String updateToken() {
        return this.updateToken;
    }

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

    public static Builder builder(GetFqdnListResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String auditComment;
        private @Nullable String configType;
        private String description;
        private List fqdnLists;
        private String id;
        private String name;
        private String rulestack;
        private @Nullable String scope;
        private String updateToken;
        public Builder() {}
        public Builder(GetFqdnListResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.auditComment = defaults.auditComment;
    	      this.configType = defaults.configType;
    	      this.description = defaults.description;
    	      this.fqdnLists = defaults.fqdnLists;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.rulestack = defaults.rulestack;
    	      this.scope = defaults.scope;
    	      this.updateToken = defaults.updateToken;
        }

        @CustomType.Setter
        public Builder auditComment(String auditComment) {
            if (auditComment == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "auditComment");
            }
            this.auditComment = auditComment;
            return this;
        }
        @CustomType.Setter
        public Builder configType(@Nullable String configType) {

            this.configType = configType;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder fqdnLists(List fqdnLists) {
            if (fqdnLists == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "fqdnLists");
            }
            this.fqdnLists = fqdnLists;
            return this;
        }
        public Builder fqdnLists(String... fqdnLists) {
            return fqdnLists(List.of(fqdnLists));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder rulestack(String rulestack) {
            if (rulestack == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "rulestack");
            }
            this.rulestack = rulestack;
            return this;
        }
        @CustomType.Setter
        public Builder scope(@Nullable String scope) {

            this.scope = scope;
            return this;
        }
        @CustomType.Setter
        public Builder updateToken(String updateToken) {
            if (updateToken == null) {
              throw new MissingRequiredPropertyException("GetFqdnListResult", "updateToken");
            }
            this.updateToken = updateToken;
            return this;
        }
        public GetFqdnListResult build() {
            final var _resultValue = new GetFqdnListResult();
            _resultValue.auditComment = auditComment;
            _resultValue.configType = configType;
            _resultValue.description = description;
            _resultValue.fqdnLists = fqdnLists;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.rulestack = rulestack;
            _resultValue.scope = scope;
            _resultValue.updateToken = updateToken;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy