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

com.pulumi.alicloud.ga.inputs.CustomRoutingEndpointTrafficPolicyState 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.ga.inputs;

import com.pulumi.alicloud.ga.inputs.CustomRoutingEndpointTrafficPolicyPortRangeArgs;
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 CustomRoutingEndpointTrafficPolicyState extends com.pulumi.resources.ResourceArgs {

    public static final CustomRoutingEndpointTrafficPolicyState Empty = new CustomRoutingEndpointTrafficPolicyState();

    /**
     * The ID of the GA instance.
     * 
     */
    @Import(name="acceleratorId")
    private @Nullable Output acceleratorId;

    /**
     * @return The ID of the GA instance.
     * 
     */
    public Optional> acceleratorId() {
        return Optional.ofNullable(this.acceleratorId);
    }

    /**
     * The IP address of the destination to which traffic is allowed.
     * 
     */
    @Import(name="address")
    private @Nullable Output address;

    /**
     * @return The IP address of the destination to which traffic is allowed.
     * 
     */
    public Optional> address() {
        return Optional.ofNullable(this.address);
    }

    /**
     * The ID of the Custom Routing Endpoint Traffic Policy.
     * 
     */
    @Import(name="customRoutingEndpointTrafficPolicyId")
    private @Nullable Output customRoutingEndpointTrafficPolicyId;

    /**
     * @return The ID of the Custom Routing Endpoint Traffic Policy.
     * 
     */
    public Optional> customRoutingEndpointTrafficPolicyId() {
        return Optional.ofNullable(this.customRoutingEndpointTrafficPolicyId);
    }

    /**
     * The ID of the endpoint group.
     * 
     */
    @Import(name="endpointGroupId")
    private @Nullable Output endpointGroupId;

    /**
     * @return The ID of the endpoint group.
     * 
     */
    public Optional> endpointGroupId() {
        return Optional.ofNullable(this.endpointGroupId);
    }

    /**
     * The ID of the Custom Routing Endpoint.
     * 
     */
    @Import(name="endpointId")
    private @Nullable Output endpointId;

    /**
     * @return The ID of the Custom Routing Endpoint.
     * 
     */
    public Optional> endpointId() {
        return Optional.ofNullable(this.endpointId);
    }

    /**
     * The ID of the listener.
     * 
     */
    @Import(name="listenerId")
    private @Nullable Output listenerId;

    /**
     * @return The ID of the listener.
     * 
     */
    public Optional> listenerId() {
        return Optional.ofNullable(this.listenerId);
    }

    /**
     * Port rangeSee the following. See `port_ranges` below.
     * 
     */
    @Import(name="portRanges")
    private @Nullable Output> portRanges;

    /**
     * @return Port rangeSee the following. See `port_ranges` below.
     * 
     */
    public Optional>> portRanges() {
        return Optional.ofNullable(this.portRanges);
    }

    /**
     * The status of the Custom Routing Endpoint Traffic Policy.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of the Custom Routing Endpoint Traffic Policy.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private CustomRoutingEndpointTrafficPolicyState() {}

    private CustomRoutingEndpointTrafficPolicyState(CustomRoutingEndpointTrafficPolicyState $) {
        this.acceleratorId = $.acceleratorId;
        this.address = $.address;
        this.customRoutingEndpointTrafficPolicyId = $.customRoutingEndpointTrafficPolicyId;
        this.endpointGroupId = $.endpointGroupId;
        this.endpointId = $.endpointId;
        this.listenerId = $.listenerId;
        this.portRanges = $.portRanges;
        this.status = $.status;
    }

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

    public static final class Builder {
        private CustomRoutingEndpointTrafficPolicyState $;

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

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

        /**
         * @param acceleratorId The ID of the GA instance.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorId(@Nullable Output acceleratorId) {
            $.acceleratorId = acceleratorId;
            return this;
        }

        /**
         * @param acceleratorId The ID of the GA instance.
         * 
         * @return builder
         * 
         */
        public Builder acceleratorId(String acceleratorId) {
            return acceleratorId(Output.of(acceleratorId));
        }

        /**
         * @param address The IP address of the destination to which traffic is allowed.
         * 
         * @return builder
         * 
         */
        public Builder address(@Nullable Output address) {
            $.address = address;
            return this;
        }

        /**
         * @param address The IP address of the destination to which traffic is allowed.
         * 
         * @return builder
         * 
         */
        public Builder address(String address) {
            return address(Output.of(address));
        }

        /**
         * @param customRoutingEndpointTrafficPolicyId The ID of the Custom Routing Endpoint Traffic Policy.
         * 
         * @return builder
         * 
         */
        public Builder customRoutingEndpointTrafficPolicyId(@Nullable Output customRoutingEndpointTrafficPolicyId) {
            $.customRoutingEndpointTrafficPolicyId = customRoutingEndpointTrafficPolicyId;
            return this;
        }

        /**
         * @param customRoutingEndpointTrafficPolicyId The ID of the Custom Routing Endpoint Traffic Policy.
         * 
         * @return builder
         * 
         */
        public Builder customRoutingEndpointTrafficPolicyId(String customRoutingEndpointTrafficPolicyId) {
            return customRoutingEndpointTrafficPolicyId(Output.of(customRoutingEndpointTrafficPolicyId));
        }

        /**
         * @param endpointGroupId The ID of the endpoint group.
         * 
         * @return builder
         * 
         */
        public Builder endpointGroupId(@Nullable Output endpointGroupId) {
            $.endpointGroupId = endpointGroupId;
            return this;
        }

        /**
         * @param endpointGroupId The ID of the endpoint group.
         * 
         * @return builder
         * 
         */
        public Builder endpointGroupId(String endpointGroupId) {
            return endpointGroupId(Output.of(endpointGroupId));
        }

        /**
         * @param endpointId The ID of the Custom Routing Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpointId(@Nullable Output endpointId) {
            $.endpointId = endpointId;
            return this;
        }

        /**
         * @param endpointId The ID of the Custom Routing Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder endpointId(String endpointId) {
            return endpointId(Output.of(endpointId));
        }

        /**
         * @param listenerId The ID of the listener.
         * 
         * @return builder
         * 
         */
        public Builder listenerId(@Nullable Output listenerId) {
            $.listenerId = listenerId;
            return this;
        }

        /**
         * @param listenerId The ID of the listener.
         * 
         * @return builder
         * 
         */
        public Builder listenerId(String listenerId) {
            return listenerId(Output.of(listenerId));
        }

        /**
         * @param portRanges Port rangeSee the following. See `port_ranges` below.
         * 
         * @return builder
         * 
         */
        public Builder portRanges(@Nullable Output> portRanges) {
            $.portRanges = portRanges;
            return this;
        }

        /**
         * @param portRanges Port rangeSee the following. See `port_ranges` below.
         * 
         * @return builder
         * 
         */
        public Builder portRanges(List portRanges) {
            return portRanges(Output.of(portRanges));
        }

        /**
         * @param portRanges Port rangeSee the following. See `port_ranges` below.
         * 
         * @return builder
         * 
         */
        public Builder portRanges(CustomRoutingEndpointTrafficPolicyPortRangeArgs... portRanges) {
            return portRanges(List.of(portRanges));
        }

        /**
         * @param status The status of the Custom Routing Endpoint Traffic Policy.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the Custom Routing Endpoint Traffic Policy.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public CustomRoutingEndpointTrafficPolicyState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy