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

com.pulumi.alicloud.eipanycast.inputs.GetAnycastEipAddressesPlainArgs 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.eipanycast.inputs;

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 GetAnycastEipAddressesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetAnycastEipAddressesPlainArgs Empty = new GetAnycastEipAddressesPlainArgs();

    /**
     * Anycast EIP instance name.
     * 
     */
    @Import(name="anycastEipAddressName")
    private @Nullable String anycastEipAddressName;

    /**
     * @return Anycast EIP instance name.
     * 
     */
    public Optional anycastEipAddressName() {
        return Optional.ofNullable(this.anycastEipAddressName);
    }

    /**
     * The bind instance ids.
     * 
     */
    @Import(name="bindInstanceIds")
    private @Nullable List bindInstanceIds;

    /**
     * @return The bind instance ids.
     * 
     */
    public Optional> bindInstanceIds() {
        return Optional.ofNullable(this.bindInstanceIds);
    }

    /**
     * The business status of the Anycast EIP instance. -`Normal`: Normal state. -`FinancialLocked`: The status of arrears locked.
     * 
     */
    @Import(name="businessStatus")
    private @Nullable String businessStatus;

    /**
     * @return The business status of the Anycast EIP instance. -`Normal`: Normal state. -`FinancialLocked`: The status of arrears locked.
     * 
     */
    public Optional businessStatus() {
        return Optional.ofNullable(this.businessStatus);
    }

    /**
     * A list of Anycast Eip Address IDs.
     * 
     */
    @Import(name="ids")
    private @Nullable List ids;

    /**
     * @return A list of Anycast Eip Address IDs.
     * 
     */
    public Optional> ids() {
        return Optional.ofNullable(this.ids);
    }

    /**
     * The billing method of Anycast EIP instance. `PayByBandwidth`: refers to the method of billing based on traffic.
     * 
     */
    @Import(name="internetChargeType")
    private @Nullable String internetChargeType;

    /**
     * @return The billing method of Anycast EIP instance. `PayByBandwidth`: refers to the method of billing based on traffic.
     * 
     */
    public Optional internetChargeType() {
        return Optional.ofNullable(this.internetChargeType);
    }

    /**
     * Anycast EIP instance IP address.
     * 
     */
    @Import(name="ipAddress")
    private @Nullable String ipAddress;

    /**
     * @return Anycast EIP instance IP address.
     * 
     */
    public Optional ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    /**
     * A regex string to filter results by Anycast Eip Address name.
     * 
     */
    @Import(name="nameRegex")
    private @Nullable String nameRegex;

    /**
     * @return A regex string to filter results by Anycast Eip Address name.
     * 
     */
    public Optional nameRegex() {
        return Optional.ofNullable(this.nameRegex);
    }

    /**
     * File name where to save data source results (after running `pulumi preview`).
     * 
     */
    @Import(name="outputFile")
    private @Nullable String outputFile;

    /**
     * @return File name where to save data source results (after running `pulumi preview`).
     * 
     */
    public Optional outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    /**
     * The payment model of Anycast EIP instance. `PayAsYouGo`: Refers to the post-paid mode. Default value is `PayAsYouGo`.
     * 
     */
    @Import(name="paymentType")
    private @Nullable String paymentType;

    /**
     * @return The payment model of Anycast EIP instance. `PayAsYouGo`: Refers to the post-paid mode. Default value is `PayAsYouGo`.
     * 
     */
    public Optional paymentType() {
        return Optional.ofNullable(this.paymentType);
    }

    /**
     * Anycast EIP instance access area. `international`: Refers to areas outside of Mainland China.
     * 
     */
    @Import(name="serviceLocation")
    private @Nullable String serviceLocation;

    /**
     * @return Anycast EIP instance access area. `international`: Refers to areas outside of Mainland China.
     * 
     */
    public Optional serviceLocation() {
        return Optional.ofNullable(this.serviceLocation);
    }

    /**
     * IP status。- `Associating`, `Unassociating`, `Allocated`, `Associated`, `Modifying`, `Releasing`, `Released`. Valid values: `Allocated`, `Associated`.
     * 
     */
    @Import(name="status")
    private @Nullable String status;

    /**
     * @return IP status。- `Associating`, `Unassociating`, `Allocated`, `Associated`, `Modifying`, `Releasing`, `Released`. Valid values: `Allocated`, `Associated`.
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }

    private GetAnycastEipAddressesPlainArgs() {}

    private GetAnycastEipAddressesPlainArgs(GetAnycastEipAddressesPlainArgs $) {
        this.anycastEipAddressName = $.anycastEipAddressName;
        this.bindInstanceIds = $.bindInstanceIds;
        this.businessStatus = $.businessStatus;
        this.ids = $.ids;
        this.internetChargeType = $.internetChargeType;
        this.ipAddress = $.ipAddress;
        this.nameRegex = $.nameRegex;
        this.outputFile = $.outputFile;
        this.paymentType = $.paymentType;
        this.serviceLocation = $.serviceLocation;
        this.status = $.status;
    }

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

    public static final class Builder {
        private GetAnycastEipAddressesPlainArgs $;

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

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

        /**
         * @param anycastEipAddressName Anycast EIP instance name.
         * 
         * @return builder
         * 
         */
        public Builder anycastEipAddressName(@Nullable String anycastEipAddressName) {
            $.anycastEipAddressName = anycastEipAddressName;
            return this;
        }

        /**
         * @param bindInstanceIds The bind instance ids.
         * 
         * @return builder
         * 
         */
        public Builder bindInstanceIds(@Nullable List bindInstanceIds) {
            $.bindInstanceIds = bindInstanceIds;
            return this;
        }

        /**
         * @param bindInstanceIds The bind instance ids.
         * 
         * @return builder
         * 
         */
        public Builder bindInstanceIds(String... bindInstanceIds) {
            return bindInstanceIds(List.of(bindInstanceIds));
        }

        /**
         * @param businessStatus The business status of the Anycast EIP instance. -`Normal`: Normal state. -`FinancialLocked`: The status of arrears locked.
         * 
         * @return builder
         * 
         */
        public Builder businessStatus(@Nullable String businessStatus) {
            $.businessStatus = businessStatus;
            return this;
        }

        /**
         * @param ids A list of Anycast Eip Address IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(@Nullable List ids) {
            $.ids = ids;
            return this;
        }

        /**
         * @param ids A list of Anycast Eip Address IDs.
         * 
         * @return builder
         * 
         */
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }

        /**
         * @param internetChargeType The billing method of Anycast EIP instance. `PayByBandwidth`: refers to the method of billing based on traffic.
         * 
         * @return builder
         * 
         */
        public Builder internetChargeType(@Nullable String internetChargeType) {
            $.internetChargeType = internetChargeType;
            return this;
        }

        /**
         * @param ipAddress Anycast EIP instance IP address.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(@Nullable String ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param nameRegex A regex string to filter results by Anycast Eip Address name.
         * 
         * @return builder
         * 
         */
        public Builder nameRegex(@Nullable String nameRegex) {
            $.nameRegex = nameRegex;
            return this;
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable String outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        /**
         * @param paymentType The payment model of Anycast EIP instance. `PayAsYouGo`: Refers to the post-paid mode. Default value is `PayAsYouGo`.
         * 
         * @return builder
         * 
         */
        public Builder paymentType(@Nullable String paymentType) {
            $.paymentType = paymentType;
            return this;
        }

        /**
         * @param serviceLocation Anycast EIP instance access area. `international`: Refers to areas outside of Mainland China.
         * 
         * @return builder
         * 
         */
        public Builder serviceLocation(@Nullable String serviceLocation) {
            $.serviceLocation = serviceLocation;
            return this;
        }

        /**
         * @param status IP status。- `Associating`, `Unassociating`, `Allocated`, `Associated`, `Modifying`, `Releasing`, `Released`. Valid values: `Allocated`, `Associated`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable String status) {
            $.status = status;
            return this;
        }

        public GetAnycastEipAddressesPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy