
com.pulumi.azurenative.keyvault.outputs.GetMHSMPrivateEndpointConnectionResult 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.keyvault.outputs;
import com.pulumi.azurenative.keyvault.outputs.MHSMPrivateEndpointResponse;
import com.pulumi.azurenative.keyvault.outputs.MHSMPrivateLinkServiceConnectionStateResponse;
import com.pulumi.azurenative.keyvault.outputs.ManagedHsmSkuResponse;
import com.pulumi.azurenative.keyvault.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetMHSMPrivateEndpointConnectionResult {
/**
* @return Modified whenever there is a change in the state of private endpoint connection.
*
*/
private @Nullable String etag;
/**
* @return The Azure Resource Manager resource ID for the managed HSM Pool.
*
*/
private String id;
/**
* @return The supported Azure location where the managed HSM Pool should be created.
*
*/
private @Nullable String location;
/**
* @return The name of the managed HSM Pool.
*
*/
private String name;
/**
* @return Properties of the private endpoint object.
*
*/
private @Nullable MHSMPrivateEndpointResponse privateEndpoint;
/**
* @return Approval state of the private link connection.
*
*/
private @Nullable MHSMPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
/**
* @return Provisioning state of the private endpoint connection.
*
*/
private String provisioningState;
/**
* @return SKU details
*
*/
private @Nullable ManagedHsmSkuResponse sku;
/**
* @return Metadata pertaining to creation and last modification of the key vault resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags
*
*/
private @Nullable Map tags;
/**
* @return The resource type of the managed HSM Pool.
*
*/
private String type;
private GetMHSMPrivateEndpointConnectionResult() {}
/**
* @return Modified whenever there is a change in the state of private endpoint connection.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return The Azure Resource Manager resource ID for the managed HSM Pool.
*
*/
public String id() {
return this.id;
}
/**
* @return The supported Azure location where the managed HSM Pool should be created.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The name of the managed HSM Pool.
*
*/
public String name() {
return this.name;
}
/**
* @return Properties of the private endpoint object.
*
*/
public Optional privateEndpoint() {
return Optional.ofNullable(this.privateEndpoint);
}
/**
* @return Approval state of the private link connection.
*
*/
public Optional privateLinkServiceConnectionState() {
return Optional.ofNullable(this.privateLinkServiceConnectionState);
}
/**
* @return Provisioning state of the private endpoint connection.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return SKU details
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return Metadata pertaining to creation and last modification of the key vault resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The resource type of the managed HSM Pool.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMHSMPrivateEndpointConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String etag;
private String id;
private @Nullable String location;
private String name;
private @Nullable MHSMPrivateEndpointResponse privateEndpoint;
private @Nullable MHSMPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
private String provisioningState;
private @Nullable ManagedHsmSkuResponse sku;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetMHSMPrivateEndpointConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.etag = defaults.etag;
this.id = defaults.id;
this.location = defaults.location;
this.name = defaults.name;
this.privateEndpoint = defaults.privateEndpoint;
this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
this.provisioningState = defaults.provisioningState;
this.sku = defaults.sku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetMHSMPrivateEndpointConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetMHSMPrivateEndpointConnectionResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateEndpoint(@Nullable MHSMPrivateEndpointResponse privateEndpoint) {
this.privateEndpoint = privateEndpoint;
return this;
}
@CustomType.Setter
public Builder privateLinkServiceConnectionState(@Nullable MHSMPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState) {
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetMHSMPrivateEndpointConnectionResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable ManagedHsmSkuResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetMHSMPrivateEndpointConnectionResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetMHSMPrivateEndpointConnectionResult", "type");
}
this.type = type;
return this;
}
public GetMHSMPrivateEndpointConnectionResult build() {
final var _resultValue = new GetMHSMPrivateEndpointConnectionResult();
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.privateEndpoint = privateEndpoint;
_resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
_resultValue.provisioningState = provisioningState;
_resultValue.sku = sku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy