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

com.pulumi.azurenative.hdinsight.outputs.PrivateLinkConfigurationResponse 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.hdinsight.outputs;

import com.pulumi.azurenative.hdinsight.outputs.IPConfigurationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class PrivateLinkConfigurationResponse {
    /**
     * @return The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
     * 
     */
    private String groupId;
    /**
     * @return The private link configuration id.
     * 
     */
    private String id;
    /**
     * @return The IP configurations for the private link service.
     * 
     */
    private List ipConfigurations;
    /**
     * @return The name of private link configuration.
     * 
     */
    private String name;
    /**
     * @return The private link configuration provisioning state, which only appears in the response.
     * 
     */
    private String provisioningState;
    /**
     * @return The type of the private link configuration.
     * 
     */
    private String type;

    private PrivateLinkConfigurationResponse() {}
    /**
     * @return The HDInsight private linkable sub-resource name to apply the private link configuration to. For example, 'headnode', 'gateway', 'edgenode'.
     * 
     */
    public String groupId() {
        return this.groupId;
    }
    /**
     * @return The private link configuration id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The IP configurations for the private link service.
     * 
     */
    public List ipConfigurations() {
        return this.ipConfigurations;
    }
    /**
     * @return The name of private link configuration.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The private link configuration provisioning state, which only appears in the response.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The type of the private link configuration.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(PrivateLinkConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String groupId;
        private String id;
        private List ipConfigurations;
        private String name;
        private String provisioningState;
        private String type;
        public Builder() {}
        public Builder(PrivateLinkConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupId = defaults.groupId;
    	      this.id = defaults.id;
    	      this.ipConfigurations = defaults.ipConfigurations;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder groupId(String groupId) {
            if (groupId == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "groupId");
            }
            this.groupId = groupId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ipConfigurations(List ipConfigurations) {
            if (ipConfigurations == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "ipConfigurations");
            }
            this.ipConfigurations = ipConfigurations;
            return this;
        }
        public Builder ipConfigurations(IPConfigurationResponse... ipConfigurations) {
            return ipConfigurations(List.of(ipConfigurations));
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("PrivateLinkConfigurationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public PrivateLinkConfigurationResponse build() {
            final var _resultValue = new PrivateLinkConfigurationResponse();
            _resultValue.groupId = groupId;
            _resultValue.id = id;
            _resultValue.ipConfigurations = ipConfigurations;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy