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

com.pulumi.aws.wafregional.inputs.IpSetIpSetDescriptorArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.wafregional.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class IpSetIpSetDescriptorArgs extends com.pulumi.resources.ResourceArgs {

    public static final IpSetIpSetDescriptorArgs Empty = new IpSetIpSetDescriptorArgs();

    @Import(name="type", required=true)
    private Output type;

    public Output type() {
        return this.type;
    }

    @Import(name="value", required=true)
    private Output value;

    public Output value() {
        return this.value;
    }

    private IpSetIpSetDescriptorArgs() {}

    private IpSetIpSetDescriptorArgs(IpSetIpSetDescriptorArgs $) {
        this.type = $.type;
        this.value = $.value;
    }

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

    public static final class Builder {
        private IpSetIpSetDescriptorArgs $;

        public Builder() {
            $ = new IpSetIpSetDescriptorArgs();
        }

        public Builder(IpSetIpSetDescriptorArgs defaults) {
            $ = new IpSetIpSetDescriptorArgs(Objects.requireNonNull(defaults));
        }

        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        public Builder type(String type) {
            return type(Output.of(type));
        }

        public Builder value(Output value) {
            $.value = value;
            return this;
        }

        public Builder value(String value) {
            return value(Output.of(value));
        }

        public IpSetIpSetDescriptorArgs build() {
            if ($.type == null) {
                throw new MissingRequiredPropertyException("IpSetIpSetDescriptorArgs", "type");
            }
            if ($.value == null) {
                throw new MissingRequiredPropertyException("IpSetIpSetDescriptorArgs", "value");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy