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

com.pulumi.scm.outputs.GetApplicationListDataDefault 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.scm.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.outputs.GetApplicationListDataDefaultIdentByIcmp6Type;
import com.pulumi.scm.outputs.GetApplicationListDataDefaultIdentByIcmpType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetApplicationListDataDefault {
    /**
     * @return The IdentByIcmp6Type param.
     * 
     */
    private GetApplicationListDataDefaultIdentByIcmp6Type identByIcmp6Type;
    /**
     * @return The IdentByIcmpType param.
     * 
     */
    private GetApplicationListDataDefaultIdentByIcmpType identByIcmpType;
    /**
     * @return The IdentByIpProtocol param.
     * 
     */
    private String identByIpProtocol;
    /**
     * @return The Ports param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
     * 
     */
    private List ports;

    private GetApplicationListDataDefault() {}
    /**
     * @return The IdentByIcmp6Type param.
     * 
     */
    public GetApplicationListDataDefaultIdentByIcmp6Type identByIcmp6Type() {
        return this.identByIcmp6Type;
    }
    /**
     * @return The IdentByIcmpType param.
     * 
     */
    public GetApplicationListDataDefaultIdentByIcmpType identByIcmpType() {
        return this.identByIcmpType;
    }
    /**
     * @return The IdentByIpProtocol param.
     * 
     */
    public String identByIpProtocol() {
        return this.identByIpProtocol;
    }
    /**
     * @return The Ports param. Individual elements in this list are subject to additional validation. String length must not exceed 63 characters.
     * 
     */
    public List ports() {
        return this.ports;
    }

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

    public static Builder builder(GetApplicationListDataDefault defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private GetApplicationListDataDefaultIdentByIcmp6Type identByIcmp6Type;
        private GetApplicationListDataDefaultIdentByIcmpType identByIcmpType;
        private String identByIpProtocol;
        private List ports;
        public Builder() {}
        public Builder(GetApplicationListDataDefault defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identByIcmp6Type = defaults.identByIcmp6Type;
    	      this.identByIcmpType = defaults.identByIcmpType;
    	      this.identByIpProtocol = defaults.identByIpProtocol;
    	      this.ports = defaults.ports;
        }

        @CustomType.Setter
        public Builder identByIcmp6Type(GetApplicationListDataDefaultIdentByIcmp6Type identByIcmp6Type) {
            if (identByIcmp6Type == null) {
              throw new MissingRequiredPropertyException("GetApplicationListDataDefault", "identByIcmp6Type");
            }
            this.identByIcmp6Type = identByIcmp6Type;
            return this;
        }
        @CustomType.Setter
        public Builder identByIcmpType(GetApplicationListDataDefaultIdentByIcmpType identByIcmpType) {
            if (identByIcmpType == null) {
              throw new MissingRequiredPropertyException("GetApplicationListDataDefault", "identByIcmpType");
            }
            this.identByIcmpType = identByIcmpType;
            return this;
        }
        @CustomType.Setter
        public Builder identByIpProtocol(String identByIpProtocol) {
            if (identByIpProtocol == null) {
              throw new MissingRequiredPropertyException("GetApplicationListDataDefault", "identByIpProtocol");
            }
            this.identByIpProtocol = identByIpProtocol;
            return this;
        }
        @CustomType.Setter
        public Builder ports(List ports) {
            if (ports == null) {
              throw new MissingRequiredPropertyException("GetApplicationListDataDefault", "ports");
            }
            this.ports = ports;
            return this;
        }
        public Builder ports(String... ports) {
            return ports(List.of(ports));
        }
        public GetApplicationListDataDefault build() {
            final var _resultValue = new GetApplicationListDataDefault();
            _resultValue.identByIcmp6Type = identByIcmp6Type;
            _resultValue.identByIcmpType = identByIcmpType;
            _resultValue.identByIpProtocol = identByIpProtocol;
            _resultValue.ports = ports;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy