
com.pulumi.azurenative.hybridcompute.outputs.HybridComputePrivateLinkScopePropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.hybridcompute.outputs;
import com.pulumi.azurenative.hybridcompute.outputs.PrivateEndpointConnectionDataModelResponse;
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 HybridComputePrivateLinkScopePropertiesResponse {
/**
* @return The collection of associated Private Endpoint Connections.
*
*/
private List privateEndpointConnections;
/**
* @return The Guid id of the private link scope.
*
*/
private String privateLinkScopeId;
/**
* @return Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
*
*/
private String provisioningState;
/**
* @return Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
*
*/
private @Nullable String publicNetworkAccess;
private HybridComputePrivateLinkScopePropertiesResponse() {}
/**
* @return The collection of associated Private Endpoint Connections.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return The Guid id of the private link scope.
*
*/
public String privateLinkScopeId() {
return this.privateLinkScopeId;
}
/**
* @return Current state of this PrivateLinkScope: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Provisioning ,Succeeded, Canceled and Failed.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Indicates whether machines associated with the private link scope can also use public Azure Arc service endpoints.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HybridComputePrivateLinkScopePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List privateEndpointConnections;
private String privateLinkScopeId;
private String provisioningState;
private @Nullable String publicNetworkAccess;
public Builder() {}
public Builder(HybridComputePrivateLinkScopePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.privateLinkScopeId = defaults.privateLinkScopeId;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("HybridComputePrivateLinkScopePropertiesResponse", "privateEndpointConnections");
}
this.privateEndpointConnections = privateEndpointConnections;
return this;
}
public Builder privateEndpointConnections(PrivateEndpointConnectionDataModelResponse... privateEndpointConnections) {
return privateEndpointConnections(List.of(privateEndpointConnections));
}
@CustomType.Setter
public Builder privateLinkScopeId(String privateLinkScopeId) {
if (privateLinkScopeId == null) {
throw new MissingRequiredPropertyException("HybridComputePrivateLinkScopePropertiesResponse", "privateLinkScopeId");
}
this.privateLinkScopeId = privateLinkScopeId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("HybridComputePrivateLinkScopePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
public HybridComputePrivateLinkScopePropertiesResponse build() {
final var _resultValue = new HybridComputePrivateLinkScopePropertiesResponse();
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.privateLinkScopeId = privateLinkScopeId;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy