
com.pulumi.azurenative.apimanagement.outputs.RemotePrivateEndpointConnectionWrapperResponse 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.apimanagement.outputs;
import com.pulumi.azurenative.apimanagement.outputs.ArmIdWrapperResponse;
import com.pulumi.azurenative.apimanagement.outputs.PrivateLinkServiceConnectionStateResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RemotePrivateEndpointConnectionWrapperResponse {
/**
* @return All the Group ids.
*
*/
private List groupIds;
/**
* @return Private Endpoint connection resource id
*
*/
private @Nullable String id;
/**
* @return Private Endpoint Connection Name
*
*/
private @Nullable String name;
/**
* @return The resource of private end point.
*
*/
private @Nullable ArmIdWrapperResponse privateEndpoint;
/**
* @return A collection of information about the state of the connection between service consumer and provider.
*
*/
private PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
/**
* @return The provisioning state of the private endpoint connection resource.
*
*/
private String provisioningState;
/**
* @return Private Endpoint Connection Resource Type
*
*/
private @Nullable String type;
private RemotePrivateEndpointConnectionWrapperResponse() {}
/**
* @return All the Group ids.
*
*/
public List groupIds() {
return this.groupIds;
}
/**
* @return Private Endpoint connection resource id
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Private Endpoint Connection Name
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return The resource of private end point.
*
*/
public Optional privateEndpoint() {
return Optional.ofNullable(this.privateEndpoint);
}
/**
* @return A collection of information about the state of the connection between service consumer and provider.
*
*/
public PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState() {
return this.privateLinkServiceConnectionState;
}
/**
* @return The provisioning state of the private endpoint connection resource.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Private Endpoint Connection Resource Type
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RemotePrivateEndpointConnectionWrapperResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List groupIds;
private @Nullable String id;
private @Nullable String name;
private @Nullable ArmIdWrapperResponse privateEndpoint;
private PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState;
private String provisioningState;
private @Nullable String type;
public Builder() {}
public Builder(RemotePrivateEndpointConnectionWrapperResponse defaults) {
Objects.requireNonNull(defaults);
this.groupIds = defaults.groupIds;
this.id = defaults.id;
this.name = defaults.name;
this.privateEndpoint = defaults.privateEndpoint;
this.privateLinkServiceConnectionState = defaults.privateLinkServiceConnectionState;
this.provisioningState = defaults.provisioningState;
this.type = defaults.type;
}
@CustomType.Setter
public Builder groupIds(List groupIds) {
if (groupIds == null) {
throw new MissingRequiredPropertyException("RemotePrivateEndpointConnectionWrapperResponse", "groupIds");
}
this.groupIds = groupIds;
return this;
}
public Builder groupIds(String... groupIds) {
return groupIds(List.of(groupIds));
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateEndpoint(@Nullable ArmIdWrapperResponse privateEndpoint) {
this.privateEndpoint = privateEndpoint;
return this;
}
@CustomType.Setter
public Builder privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateResponse privateLinkServiceConnectionState) {
if (privateLinkServiceConnectionState == null) {
throw new MissingRequiredPropertyException("RemotePrivateEndpointConnectionWrapperResponse", "privateLinkServiceConnectionState");
}
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("RemotePrivateEndpointConnectionWrapperResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public RemotePrivateEndpointConnectionWrapperResponse build() {
final var _resultValue = new RemotePrivateEndpointConnectionWrapperResponse();
_resultValue.groupIds = groupIds;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.privateEndpoint = privateEndpoint;
_resultValue.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
_resultValue.provisioningState = provisioningState;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy