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

com.pulumi.azurenative.awsconnector.outputs.RuleVariablesResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurenative.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.IPSetResponse;
import com.pulumi.azurenative.awsconnector.outputs.PortSetResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class RuleVariablesResponse {
    /**
     * @return Property ipSets
     * 
     */
    private @Nullable Map ipSets;
    /**
     * @return Property portSets
     * 
     */
    private @Nullable Map portSets;

    private RuleVariablesResponse() {}
    /**
     * @return Property ipSets
     * 
     */
    public Map ipSets() {
        return this.ipSets == null ? Map.of() : this.ipSets;
    }
    /**
     * @return Property portSets
     * 
     */
    public Map portSets() {
        return this.portSets == null ? Map.of() : this.portSets;
    }

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

    public static Builder builder(RuleVariablesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Map ipSets;
        private @Nullable Map portSets;
        public Builder() {}
        public Builder(RuleVariablesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ipSets = defaults.ipSets;
    	      this.portSets = defaults.portSets;
        }

        @CustomType.Setter
        public Builder ipSets(@Nullable Map ipSets) {

            this.ipSets = ipSets;
            return this;
        }
        @CustomType.Setter
        public Builder portSets(@Nullable Map portSets) {

            this.portSets = portSets;
            return this;
        }
        public RuleVariablesResponse build() {
            final var _resultValue = new RuleVariablesResponse();
            _resultValue.ipSets = ipSets;
            _resultValue.portSets = portSets;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy