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

com.pulumi.azurenative.network.outputs.EffectiveConnectivityConfigurationResponse Maven / Gradle / Ivy

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

import com.pulumi.azurenative.network.outputs.ConfigurationGroupResponse;
import com.pulumi.azurenative.network.outputs.ConnectivityGroupItemResponse;
import com.pulumi.azurenative.network.outputs.HubResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EffectiveConnectivityConfigurationResponse {
    /**
     * @return Groups for configuration
     * 
     */
    private List appliesToGroups;
    /**
     * @return Effective configuration groups.
     * 
     */
    private @Nullable List configurationGroups;
    /**
     * @return Connectivity topology type.
     * 
     */
    private String connectivityTopology;
    /**
     * @return Flag if need to remove current existing peerings.
     * 
     */
    private @Nullable String deleteExistingPeering;
    /**
     * @return A description of the connectivity configuration.
     * 
     */
    private @Nullable String description;
    /**
     * @return A friendly name for the resource.
     * 
     */
    private @Nullable String displayName;
    /**
     * @return List of hubItems
     * 
     */
    private @Nullable List hubs;
    /**
     * @return Connectivity configuration ID.
     * 
     */
    private @Nullable String id;
    /**
     * @return Flag if global mesh is supported.
     * 
     */
    private @Nullable String isGlobal;
    /**
     * @return The provisioning state of the connectivity configuration resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Unique identifier for this resource.
     * 
     */
    private String resourceGuid;

    private EffectiveConnectivityConfigurationResponse() {}
    /**
     * @return Groups for configuration
     * 
     */
    public List appliesToGroups() {
        return this.appliesToGroups;
    }
    /**
     * @return Effective configuration groups.
     * 
     */
    public List configurationGroups() {
        return this.configurationGroups == null ? List.of() : this.configurationGroups;
    }
    /**
     * @return Connectivity topology type.
     * 
     */
    public String connectivityTopology() {
        return this.connectivityTopology;
    }
    /**
     * @return Flag if need to remove current existing peerings.
     * 
     */
    public Optional deleteExistingPeering() {
        return Optional.ofNullable(this.deleteExistingPeering);
    }
    /**
     * @return A description of the connectivity configuration.
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return A friendly name for the resource.
     * 
     */
    public Optional displayName() {
        return Optional.ofNullable(this.displayName);
    }
    /**
     * @return List of hubItems
     * 
     */
    public List hubs() {
        return this.hubs == null ? List.of() : this.hubs;
    }
    /**
     * @return Connectivity configuration ID.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }
    /**
     * @return Flag if global mesh is supported.
     * 
     */
    public Optional isGlobal() {
        return Optional.ofNullable(this.isGlobal);
    }
    /**
     * @return The provisioning state of the connectivity configuration resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Unique identifier for this resource.
     * 
     */
    public String resourceGuid() {
        return this.resourceGuid;
    }

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

    public static Builder builder(EffectiveConnectivityConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List appliesToGroups;
        private @Nullable List configurationGroups;
        private String connectivityTopology;
        private @Nullable String deleteExistingPeering;
        private @Nullable String description;
        private @Nullable String displayName;
        private @Nullable List hubs;
        private @Nullable String id;
        private @Nullable String isGlobal;
        private String provisioningState;
        private String resourceGuid;
        public Builder() {}
        public Builder(EffectiveConnectivityConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appliesToGroups = defaults.appliesToGroups;
    	      this.configurationGroups = defaults.configurationGroups;
    	      this.connectivityTopology = defaults.connectivityTopology;
    	      this.deleteExistingPeering = defaults.deleteExistingPeering;
    	      this.description = defaults.description;
    	      this.displayName = defaults.displayName;
    	      this.hubs = defaults.hubs;
    	      this.id = defaults.id;
    	      this.isGlobal = defaults.isGlobal;
    	      this.provisioningState = defaults.provisioningState;
    	      this.resourceGuid = defaults.resourceGuid;
        }

        @CustomType.Setter
        public Builder appliesToGroups(List appliesToGroups) {
            if (appliesToGroups == null) {
              throw new MissingRequiredPropertyException("EffectiveConnectivityConfigurationResponse", "appliesToGroups");
            }
            this.appliesToGroups = appliesToGroups;
            return this;
        }
        public Builder appliesToGroups(ConnectivityGroupItemResponse... appliesToGroups) {
            return appliesToGroups(List.of(appliesToGroups));
        }
        @CustomType.Setter
        public Builder configurationGroups(@Nullable List configurationGroups) {

            this.configurationGroups = configurationGroups;
            return this;
        }
        public Builder configurationGroups(ConfigurationGroupResponse... configurationGroups) {
            return configurationGroups(List.of(configurationGroups));
        }
        @CustomType.Setter
        public Builder connectivityTopology(String connectivityTopology) {
            if (connectivityTopology == null) {
              throw new MissingRequiredPropertyException("EffectiveConnectivityConfigurationResponse", "connectivityTopology");
            }
            this.connectivityTopology = connectivityTopology;
            return this;
        }
        @CustomType.Setter
        public Builder deleteExistingPeering(@Nullable String deleteExistingPeering) {

            this.deleteExistingPeering = deleteExistingPeering;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {

            this.displayName = displayName;
            return this;
        }
        @CustomType.Setter
        public Builder hubs(@Nullable List hubs) {

            this.hubs = hubs;
            return this;
        }
        public Builder hubs(HubResponse... hubs) {
            return hubs(List.of(hubs));
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder isGlobal(@Nullable String isGlobal) {

            this.isGlobal = isGlobal;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("EffectiveConnectivityConfigurationResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGuid(String resourceGuid) {
            if (resourceGuid == null) {
              throw new MissingRequiredPropertyException("EffectiveConnectivityConfigurationResponse", "resourceGuid");
            }
            this.resourceGuid = resourceGuid;
            return this;
        }
        public EffectiveConnectivityConfigurationResponse build() {
            final var _resultValue = new EffectiveConnectivityConfigurationResponse();
            _resultValue.appliesToGroups = appliesToGroups;
            _resultValue.configurationGroups = configurationGroups;
            _resultValue.connectivityTopology = connectivityTopology;
            _resultValue.deleteExistingPeering = deleteExistingPeering;
            _resultValue.description = description;
            _resultValue.displayName = displayName;
            _resultValue.hubs = hubs;
            _resultValue.id = id;
            _resultValue.isGlobal = isGlobal;
            _resultValue.provisioningState = provisioningState;
            _resultValue.resourceGuid = resourceGuid;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy