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

com.pulumi.alicloud.cdn.inputs.GetIpInfoArgs Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.cdn.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 GetIpInfoArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetIpInfoArgs Empty = new GetIpInfoArgs();

    /**
     * Specify IP address.
     * 
     */
    @Import(name="ip", required=true)
    private Output ip;

    /**
     * @return Specify IP address.
     * 
     */
    public Output ip() {
        return this.ip;
    }

    private GetIpInfoArgs() {}

    private GetIpInfoArgs(GetIpInfoArgs $) {
        this.ip = $.ip;
    }

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

    public static final class Builder {
        private GetIpInfoArgs $;

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

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

        /**
         * @param ip Specify IP address.
         * 
         * @return builder
         * 
         */
        public Builder ip(Output ip) {
            $.ip = ip;
            return this;
        }

        /**
         * @param ip Specify IP address.
         * 
         * @return builder
         * 
         */
        public Builder ip(String ip) {
            return ip(Output.of(ip));
        }

        public GetIpInfoArgs build() {
            if ($.ip == null) {
                throw new MissingRequiredPropertyException("GetIpInfoArgs", "ip");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy