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

com.pulumi.aws.globalaccelerator.inputs.CustomRoutingAcceleratorIpSetArgs 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.aws.globalaccelerator.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final CustomRoutingAcceleratorIpSetArgs Empty = new CustomRoutingAcceleratorIpSetArgs();

    /**
     * The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
     * 
     */
    @Import(name="ipAddresses")
    private @Nullable Output> ipAddresses;

    /**
     * @return The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
     * 
     */
    public Optional>> ipAddresses() {
        return Optional.ofNullable(this.ipAddresses);
    }

    /**
     * The type of IP addresses included in this IP set.
     * 
     */
    @Import(name="ipFamily")
    private @Nullable Output ipFamily;

    /**
     * @return The type of IP addresses included in this IP set.
     * 
     */
    public Optional> ipFamily() {
        return Optional.ofNullable(this.ipFamily);
    }

    private CustomRoutingAcceleratorIpSetArgs() {}

    private CustomRoutingAcceleratorIpSetArgs(CustomRoutingAcceleratorIpSetArgs $) {
        this.ipAddresses = $.ipAddresses;
        this.ipFamily = $.ipFamily;
    }

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

    public static final class Builder {
        private CustomRoutingAcceleratorIpSetArgs $;

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

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

        /**
         * @param ipAddresses The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(@Nullable Output> ipAddresses) {
            $.ipAddresses = ipAddresses;
            return this;
        }

        /**
         * @param ipAddresses The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(List ipAddresses) {
            return ipAddresses(Output.of(ipAddresses));
        }

        /**
         * @param ipAddresses The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.
         * 
         * @return builder
         * 
         */
        public Builder ipAddresses(String... ipAddresses) {
            return ipAddresses(List.of(ipAddresses));
        }

        /**
         * @param ipFamily The type of IP addresses included in this IP set.
         * 
         * @return builder
         * 
         */
        public Builder ipFamily(@Nullable Output ipFamily) {
            $.ipFamily = ipFamily;
            return this;
        }

        /**
         * @param ipFamily The type of IP addresses included in this IP set.
         * 
         * @return builder
         * 
         */
        public Builder ipFamily(String ipFamily) {
            return ipFamily(Output.of(ipFamily));
        }

        public CustomRoutingAcceleratorIpSetArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy