com.pulumi.azurenative.compute.outputs.PrivateLinkServiceConnectionStateResponse 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.compute.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class PrivateLinkServiceConnectionStateResponse {
/**
* @return A message indicating if changes on the service provider require any updates on the consumer.
*
*/
private @Nullable String actionsRequired;
/**
* @return The reason for approval/rejection of the connection.
*
*/
private @Nullable String description;
/**
* @return Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
*
*/
private @Nullable String status;
private PrivateLinkServiceConnectionStateResponse() {}
/**
* @return A message indicating if changes on the service provider require any updates on the consumer.
*
*/
public Optional actionsRequired() {
return Optional.ofNullable(this.actionsRequired);
}
/**
* @return The reason for approval/rejection of the connection.
*
*/
public Optional description() {
return Optional.ofNullable(this.description);
}
/**
* @return Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateLinkServiceConnectionStateResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String actionsRequired;
private @Nullable String description;
private @Nullable String status;
public Builder() {}
public Builder(PrivateLinkServiceConnectionStateResponse defaults) {
Objects.requireNonNull(defaults);
this.actionsRequired = defaults.actionsRequired;
this.description = defaults.description;
this.status = defaults.status;
}
@CustomType.Setter
public Builder actionsRequired(@Nullable String 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 PrivateLinkServiceConnectionStateResponse build() {
final var _resultValue = new PrivateLinkServiceConnectionStateResponse();
_resultValue.actionsRequired = actionsRequired;
_resultValue.description = description;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy