
com.pulumi.azurenative.dashboard.outputs.ManagedPrivateEndpointConnectionStateResponse Maven / Gradle / Ivy
// *** 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.dashboard.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ManagedPrivateEndpointConnectionStateResponse {
/**
* @return Gets or sets the reason for approval/rejection of the connection.
*
*/
private String description;
/**
* @return The approval/rejection status of managed private endpoint connection.
*
*/
private String status;
private ManagedPrivateEndpointConnectionStateResponse() {}
/**
* @return Gets or sets the reason for approval/rejection of the connection.
*
*/
public String description() {
return this.description;
}
/**
* @return The approval/rejection status of managed private endpoint connection.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedPrivateEndpointConnectionStateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String description;
private String status;
public Builder() {}
public Builder(ManagedPrivateEndpointConnectionStateResponse defaults) {
Objects.requireNonNull(defaults);
this.description = defaults.description;
this.status = defaults.status;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("ManagedPrivateEndpointConnectionStateResponse", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("ManagedPrivateEndpointConnectionStateResponse", "status");
}
this.status = status;
return this;
}
public ManagedPrivateEndpointConnectionStateResponse build() {
final var _resultValue = new ManagedPrivateEndpointConnectionStateResponse();
_resultValue.description = description;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy