
com.pulumi.azurenative.web.outputs.ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse 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.web.outputs;
import com.pulumi.azurenative.web.outputs.ArmPlanResponse;
import com.pulumi.azurenative.web.outputs.ErrorEntityResponse;
import com.pulumi.azurenative.web.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.web.outputs.RemotePrivateEndpointConnectionResponse;
import com.pulumi.azurenative.web.outputs.SkuDescriptionResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse {
/**
* @return Azure-AsyncOperation Error info.
*
*/
private @Nullable ErrorEntityResponse error;
/**
* @return Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this
* value for GET requests only.
* For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}
*
*/
private @Nullable String id;
/**
* @return MSI resource
*
*/
private @Nullable ManagedServiceIdentityResponse identity;
/**
* @return Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
*
*/
private @Nullable String location;
/**
* @return Name of resource.
*
*/
private @Nullable String name;
/**
* @return Azure resource manager plan.
*
*/
private @Nullable ArmPlanResponse plan;
/**
* @return Resource specific properties.
*
*/
private @Nullable RemotePrivateEndpointConnectionResponse properties;
/**
* @return SKU description of the resource.
*
*/
private @Nullable SkuDescriptionResponse sku;
/**
* @return Azure-AsyncOperation Status info.
*
*/
private @Nullable String status;
/**
* @return Tags associated with resource.
*
*/
private @Nullable Map tags;
/**
* @return Type of resource e.g "Microsoft.Web/sites".
*
*/
private @Nullable String type;
/**
* @return Logical Availability Zones the service is hosted in
*
*/
private @Nullable List zones;
private ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse() {}
/**
* @return Azure-AsyncOperation Error info.
*
*/
public Optional error() {
return Optional.ofNullable(this.error);
}
/**
* @return Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this
* value for GET requests only.
* For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return MSI resource
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Name of resource.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Azure resource manager plan.
*
*/
public Optional plan() {
return Optional.ofNullable(this.plan);
}
/**
* @return Resource specific properties.
*
*/
public Optional properties() {
return Optional.ofNullable(this.properties);
}
/**
* @return SKU description of the resource.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return Azure-AsyncOperation Status info.
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
/**
* @return Tags associated with resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Type of resource e.g "Microsoft.Web/sites".
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return Logical Availability Zones the service is hosted in
*
*/
public List zones() {
return this.zones == null ? List.of() : this.zones;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ErrorEntityResponse error;
private @Nullable String id;
private @Nullable ManagedServiceIdentityResponse identity;
private @Nullable String location;
private @Nullable String name;
private @Nullable ArmPlanResponse plan;
private @Nullable RemotePrivateEndpointConnectionResponse properties;
private @Nullable SkuDescriptionResponse sku;
private @Nullable String status;
private @Nullable Map tags;
private @Nullable String type;
private @Nullable List zones;
public Builder() {}
public Builder(ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse defaults) {
Objects.requireNonNull(defaults);
this.error = defaults.error;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.name = defaults.name;
this.plan = defaults.plan;
this.properties = defaults.properties;
this.sku = defaults.sku;
this.status = defaults.status;
this.tags = defaults.tags;
this.type = defaults.type;
this.zones = defaults.zones;
}
@CustomType.Setter
public Builder error(@Nullable ErrorEntityResponse error) {
this.error = error;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder plan(@Nullable ArmPlanResponse plan) {
this.plan = plan;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable RemotePrivateEndpointConnectionResponse properties) {
this.properties = properties;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable SkuDescriptionResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder zones(@Nullable List zones) {
this.zones = zones;
return this;
}
public Builder zones(String... zones) {
return zones(List.of(zones));
}
public ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse build() {
final var _resultValue = new ResponseMessageEnvelopeRemotePrivateEndpointConnectionResponse();
_resultValue.error = error;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.plan = plan;
_resultValue.properties = properties;
_resultValue.sku = sku;
_resultValue.status = status;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.zones = zones;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy