com.pulumi.aws.wafregional.inputs.IpSetIpSetDescriptorArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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