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

com.pulumi.alicloud.ga.outputs.GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination 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.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination {
    /**
     * @return The ID of the GA instance.
     * 
     */
    private String acceleratorId;
    /**
     * @return The ID of the Custom Routing Endpoint Group Destination.
     * 
     */
    private String customRoutingEndpointGroupDestinationId;
    /**
     * @return The ID of the endpoint group.
     * 
     */
    private String endpointGroupId;
    /**
     * @return The start port of the backend service port range of the endpoint group. The `from_port` value must be smaller than or equal to the `to_port` value. Valid values: `1` to `65499`.
     * 
     */
    private Integer fromPort;
    /**
     * @return The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as `<endpoint_group_id>:<custom_routing_endpoint_group_destination_id>`.
     * 
     */
    private String id;
    /**
     * @return The ID of the listener.
     * 
     */
    private String listenerId;
    /**
     * @return The backend service protocol of the endpoint group. Valid values: `TCP`, `UDP`, `TCP, UDP`.
     * 
     */
    private List protocols;
    /**
     * @return The end port of the backend service port range of the endpoint group. The `from_port` value must be smaller than or equal to the `to_port` value. Valid values: `1` to `65499`.
     * 
     */
    private Integer toPort;

    private GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination() {}
    /**
     * @return The ID of the GA instance.
     * 
     */
    public String acceleratorId() {
        return this.acceleratorId;
    }
    /**
     * @return The ID of the Custom Routing Endpoint Group Destination.
     * 
     */
    public String customRoutingEndpointGroupDestinationId() {
        return this.customRoutingEndpointGroupDestinationId;
    }
    /**
     * @return The ID of the endpoint group.
     * 
     */
    public String endpointGroupId() {
        return this.endpointGroupId;
    }
    /**
     * @return The start port of the backend service port range of the endpoint group. The `from_port` value must be smaller than or equal to the `to_port` value. Valid values: `1` to `65499`.
     * 
     */
    public Integer fromPort() {
        return this.fromPort;
    }
    /**
     * @return The id of the Global Accelerator Custom Routing Endpoint Group Destination. It formats as `<endpoint_group_id>:<custom_routing_endpoint_group_destination_id>`.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The ID of the listener.
     * 
     */
    public String listenerId() {
        return this.listenerId;
    }
    /**
     * @return The backend service protocol of the endpoint group. Valid values: `TCP`, `UDP`, `TCP, UDP`.
     * 
     */
    public List protocols() {
        return this.protocols;
    }
    /**
     * @return The end port of the backend service port range of the endpoint group. The `from_port` value must be smaller than or equal to the `to_port` value. Valid values: `1` to `65499`.
     * 
     */
    public Integer toPort() {
        return this.toPort;
    }

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

    public static Builder builder(GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String acceleratorId;
        private String customRoutingEndpointGroupDestinationId;
        private String endpointGroupId;
        private Integer fromPort;
        private String id;
        private String listenerId;
        private List protocols;
        private Integer toPort;
        public Builder() {}
        public Builder(GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.acceleratorId = defaults.acceleratorId;
    	      this.customRoutingEndpointGroupDestinationId = defaults.customRoutingEndpointGroupDestinationId;
    	      this.endpointGroupId = defaults.endpointGroupId;
    	      this.fromPort = defaults.fromPort;
    	      this.id = defaults.id;
    	      this.listenerId = defaults.listenerId;
    	      this.protocols = defaults.protocols;
    	      this.toPort = defaults.toPort;
        }

        @CustomType.Setter
        public Builder acceleratorId(String acceleratorId) {
            if (acceleratorId == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "acceleratorId");
            }
            this.acceleratorId = acceleratorId;
            return this;
        }
        @CustomType.Setter
        public Builder customRoutingEndpointGroupDestinationId(String customRoutingEndpointGroupDestinationId) {
            if (customRoutingEndpointGroupDestinationId == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "customRoutingEndpointGroupDestinationId");
            }
            this.customRoutingEndpointGroupDestinationId = customRoutingEndpointGroupDestinationId;
            return this;
        }
        @CustomType.Setter
        public Builder endpointGroupId(String endpointGroupId) {
            if (endpointGroupId == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "endpointGroupId");
            }
            this.endpointGroupId = endpointGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder fromPort(Integer fromPort) {
            if (fromPort == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "fromPort");
            }
            this.fromPort = fromPort;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder listenerId(String listenerId) {
            if (listenerId == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "listenerId");
            }
            this.listenerId = listenerId;
            return this;
        }
        @CustomType.Setter
        public Builder protocols(List protocols) {
            if (protocols == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "protocols");
            }
            this.protocols = protocols;
            return this;
        }
        public Builder protocols(String... protocols) {
            return protocols(List.of(protocols));
        }
        @CustomType.Setter
        public Builder toPort(Integer toPort) {
            if (toPort == null) {
              throw new MissingRequiredPropertyException("GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination", "toPort");
            }
            this.toPort = toPort;
            return this;
        }
        public GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination build() {
            final var _resultValue = new GetCustomRoutingEndpointGroupDestinationsCustomRoutingEndpointGroupDestination();
            _resultValue.acceleratorId = acceleratorId;
            _resultValue.customRoutingEndpointGroupDestinationId = customRoutingEndpointGroupDestinationId;
            _resultValue.endpointGroupId = endpointGroupId;
            _resultValue.fromPort = fromPort;
            _resultValue.id = id;
            _resultValue.listenerId = listenerId;
            _resultValue.protocols = protocols;
            _resultValue.toPort = toPort;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy