com.pulumi.azurenative.keyvault.outputs.MHSMPrivateEndpointConnectionItemResponse 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class MHSMPrivateEndpointConnectionItemResponse {
/**
* @return Modified whenever there is a change in the state of private endpoint connection.
*
*/
private @Nullable String etag;
/**
* @return Id of private endpoint connection.
*
*/
private @Nullable String id;
/**
* @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;
private MHSMPrivateEndpointConnectionItemResponse() {}
/**
* @return Modified whenever there is a change in the state of private endpoint connection.
*
*/
public Optional etag() {
return Optional.ofNullable(this.etag);
}
/**
* @return Id of private endpoint connection.
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @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;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MHSMPrivateEndpointConnectionItemResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String etag;
private @Nullable String id;
private @Nullable MHSMPrivateEndpointResponse privateEndpoint;
private @Nullable MHSMPrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
private String provisioningState;
public Builder() {}
public Builder(MHSMPrivateEndpointConnectionItemResponse defaults) {
Objects.requireNonNull(defaults);
this.etag = defaults.etag;
this.id = defaults.id;
this.privateEndpoint = defaults.privateEndpoint;
this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
this.provisioningState = defaults.provisioningState;
}
@CustomType.Setter
public Builder etag(@Nullable String etag) {
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
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("MHSMPrivateEndpointConnectionItemResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
public MHSMPrivateEndpointConnectionItemResponse build() {
final var _resultValue = new MHSMPrivateEndpointConnectionItemResponse();
_resultValue.etag = etag;
_resultValue.id = id;
_resultValue.privateEndpoint = privateEndpoint;
_resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
_resultValue.provisioningState = provisioningState;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy