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

com.pulumi.azurenative.logic.outputs.FlowEndpointsResponse Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.logic.outputs;

import com.pulumi.azurenative.logic.outputs.IpAddressResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class FlowEndpointsResponse {
    /**
     * @return The access endpoint ip address.
     * 
     */
    private @Nullable List accessEndpointIpAddresses;
    /**
     * @return The outgoing ip address.
     * 
     */
    private @Nullable List outgoingIpAddresses;

    private FlowEndpointsResponse() {}
    /**
     * @return The access endpoint ip address.
     * 
     */
    public List accessEndpointIpAddresses() {
        return this.accessEndpointIpAddresses == null ? List.of() : this.accessEndpointIpAddresses;
    }
    /**
     * @return The outgoing ip address.
     * 
     */
    public List outgoingIpAddresses() {
        return this.outgoingIpAddresses == null ? List.of() : this.outgoingIpAddresses;
    }

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

    public static Builder builder(FlowEndpointsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List accessEndpointIpAddresses;
        private @Nullable List outgoingIpAddresses;
        public Builder() {}
        public Builder(FlowEndpointsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessEndpointIpAddresses = defaults.accessEndpointIpAddresses;
    	      this.outgoingIpAddresses = defaults.outgoingIpAddresses;
        }

        @CustomType.Setter
        public Builder accessEndpointIpAddresses(@Nullable List accessEndpointIpAddresses) {

            this.accessEndpointIpAddresses = accessEndpointIpAddresses;
            return this;
        }
        public Builder accessEndpointIpAddresses(IpAddressResponse... accessEndpointIpAddresses) {
            return accessEndpointIpAddresses(List.of(accessEndpointIpAddresses));
        }
        @CustomType.Setter
        public Builder outgoingIpAddresses(@Nullable List outgoingIpAddresses) {

            this.outgoingIpAddresses = outgoingIpAddresses;
            return this;
        }
        public Builder outgoingIpAddresses(IpAddressResponse... outgoingIpAddresses) {
            return outgoingIpAddresses(List.of(outgoingIpAddresses));
        }
        public FlowEndpointsResponse build() {
            final var _resultValue = new FlowEndpointsResponse();
            _resultValue.accessEndpointIpAddresses = accessEndpointIpAddresses;
            _resultValue.outgoingIpAddresses = outgoingIpAddresses;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy