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

com.pulumi.azurenative.managednetwork.outputs.ConnectivityCollectionResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.managednetwork.outputs;

import com.pulumi.azurenative.managednetwork.outputs.ManagedNetworkGroupResponse;
import com.pulumi.azurenative.managednetwork.outputs.ManagedNetworkPeeringPolicyResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;

@CustomType
public final class ConnectivityCollectionResponse {
    /**
     * @return The collection of connectivity related Managed Network Groups within the Managed Network
     * 
     */
    private List groups;
    /**
     * @return The collection of Managed Network Peering Policies within the Managed Network
     * 
     */
    private List peerings;

    private ConnectivityCollectionResponse() {}
    /**
     * @return The collection of connectivity related Managed Network Groups within the Managed Network
     * 
     */
    public List groups() {
        return this.groups;
    }
    /**
     * @return The collection of Managed Network Peering Policies within the Managed Network
     * 
     */
    public List peerings() {
        return this.peerings;
    }

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

    public static Builder builder(ConnectivityCollectionResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List groups;
        private List peerings;
        public Builder() {}
        public Builder(ConnectivityCollectionResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groups = defaults.groups;
    	      this.peerings = defaults.peerings;
        }

        @CustomType.Setter
        public Builder groups(List groups) {
            if (groups == null) {
              throw new MissingRequiredPropertyException("ConnectivityCollectionResponse", "groups");
            }
            this.groups = groups;
            return this;
        }
        public Builder groups(ManagedNetworkGroupResponse... groups) {
            return groups(List.of(groups));
        }
        @CustomType.Setter
        public Builder peerings(List peerings) {
            if (peerings == null) {
              throw new MissingRequiredPropertyException("ConnectivityCollectionResponse", "peerings");
            }
            this.peerings = peerings;
            return this;
        }
        public Builder peerings(ManagedNetworkPeeringPolicyResponse... peerings) {
            return peerings(List.of(peerings));
        }
        public ConnectivityCollectionResponse build() {
            final var _resultValue = new ConnectivityCollectionResponse();
            _resultValue.groups = groups;
            _resultValue.peerings = peerings;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy