com.pulumi.azurenative.documentdb.outputs.PrivateLinkServiceConnectionStatePropertyResponse 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.
The 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.documentdb.outputs;
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 PrivateLinkServiceConnectionStatePropertyResponse {
/**
* @return Any action that is required beyond basic workflow (approve/ reject/ disconnect)
*
*/
private String actionsRequired;
/**
* @return The private link service connection description.
*
*/
private @Nullable String description;
/**
* @return The private link service connection status.
*
*/
private @Nullable String status;
private PrivateLinkServiceConnectionStatePropertyResponse() {}
/**
* @return Any action that is required beyond basic workflow (approve/ reject/ disconnect)
*
*/
public String actionsRequired() {
return this.actionsRequired;
}
/**
* @return The private link service connection description.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return The private link service connection status.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateLinkServiceConnectionStatePropertyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String actionsRequired;
private @Nullable String description;
private @Nullable String status;
public Builder() {}
public Builder(PrivateLinkServiceConnectionStatePropertyResponse defaults) {
Objects.requireNonNull(defaults);
this.actionsRequired = defaults.actionsRequired;
this.description = defaults.description;
this.status = defaults.status;
}
@CustomType.Setter
public Builder actionsRequired(String actionsRequired) {
if (actionsRequired == null) {
throw new MissingRequiredPropertyException("PrivateLinkServiceConnectionStatePropertyResponse", "actionsRequired");
}
this.actionsRequired = actionsRequired;
return this;
}
@CustomType.Setter
public Builder description(@Nullable String description) {
this.description = description;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public PrivateLinkServiceConnectionStatePropertyResponse build() {
final var _resultValue = new PrivateLinkServiceConnectionStatePropertyResponse();
_resultValue.actionsRequired = actionsRequired;
_resultValue.description = description;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy