
com.pulumi.azurenative.webpubsub.outputs.GetWebPubSubSharedPrivateLinkResourceResult 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.webpubsub.outputs;
import com.pulumi.azurenative.webpubsub.outputs.SystemDataResponse;
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 GetWebPubSubSharedPrivateLinkResourceResult {
/**
* @return The group id from the provider of resource the shared private link resource is for
*
*/
private String groupId;
/**
* @return Fully qualified resource Id for the resource.
*
*/
private String id;
/**
* @return The name of the resource.
*
*/
private String name;
/**
* @return The resource id of the resource the shared private link resource is for
*
*/
private String privateLinkResourceId;
/**
* @return Provisioning state of the resource.
*
*/
private String provisioningState;
/**
* @return The request message for requesting approval of the shared private link resource
*
*/
private @Nullable String requestMessage;
/**
* @return Status of the shared private link resource
*
*/
private String status;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
*
*/
private String type;
private GetWebPubSubSharedPrivateLinkResourceResult() {}
/**
* @return The group id from the provider of resource the shared private link resource is for
*
*/
public String groupId() {
return this.groupId;
}
/**
* @return Fully qualified resource Id for the resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The name of the resource.
*
*/
public String name() {
return this.name;
}
/**
* @return The resource id of the resource the shared private link resource is for
*
*/
public String privateLinkResourceId() {
return this.privateLinkResourceId;
}
/**
* @return Provisioning state of the resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The request message for requesting approval of the shared private link resource
*
*/
public Optional requestMessage() {
return Optional.ofNullable(this.requestMessage);
}
/**
* @return Status of the shared private link resource
*
*/
public String status() {
return this.status;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource - e.g. "Microsoft.SignalRService/SignalR"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebPubSubSharedPrivateLinkResourceResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String groupId;
private String id;
private String name;
private String privateLinkResourceId;
private String provisioningState;
private @Nullable String requestMessage;
private String status;
private SystemDataResponse systemData;
private String type;
public Builder() {}
public Builder(GetWebPubSubSharedPrivateLinkResourceResult defaults) {
Objects.requireNonNull(defaults);
this.groupId = defaults.groupId;
this.id = defaults.id;
this.name = defaults.name;
this.privateLinkResourceId = defaults.privateLinkResourceId;
this.provisioningState = defaults.provisioningState;
this.requestMessage = defaults.requestMessage;
this.status = defaults.status;
this.systemData = defaults.systemData;
this.type = defaults.type;
}
@CustomType.Setter
public Builder groupId(String groupId) {
if (groupId == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "groupId");
}
this.groupId = groupId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateLinkResourceId(String privateLinkResourceId) {
if (privateLinkResourceId == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "privateLinkResourceId");
}
this.privateLinkResourceId = privateLinkResourceId;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder requestMessage(@Nullable String requestMessage) {
this.requestMessage = requestMessage;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWebPubSubSharedPrivateLinkResourceResult", "type");
}
this.type = type;
return this;
}
public GetWebPubSubSharedPrivateLinkResourceResult build() {
final var _resultValue = new GetWebPubSubSharedPrivateLinkResourceResult();
_resultValue.groupId = groupId;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.privateLinkResourceId = privateLinkResourceId;
_resultValue.provisioningState = provisioningState;
_resultValue.requestMessage = requestMessage;
_resultValue.status = status;
_resultValue.systemData = systemData;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy