
com.azure.resourcemanager.deviceupdate.models.RemotePrivateEndpoint Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.deviceupdate.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Remote private endpoint details.
*/
@Fluent
public final class RemotePrivateEndpoint {
/*
* Remote endpoint resource ID.
*/
@JsonProperty(value = "id")
private String id;
/*
* ARM location of the remote private endpoint.
*/
@JsonProperty(value = "location")
private String location;
/*
* Original subscription ID needed by Microsoft.Network.
*/
@JsonProperty(value = "immutableSubscriptionId")
private String immutableSubscriptionId;
/*
* Original resource ID needed by Microsoft.Network.
*/
@JsonProperty(value = "immutableResourceId")
private String immutableResourceId;
/*
* Virtual network traffic tag.
*/
@JsonProperty(value = "vnetTrafficTag")
private String vnetTrafficTag;
/*
* List of private link service connections that need manual approval.
*/
@JsonProperty(value = "manualPrivateLinkServiceConnections")
private List manualPrivateLinkServiceConnections;
/*
* List of automatically approved private link service connections.
*/
@JsonProperty(value = "privateLinkServiceConnections")
private List privateLinkServiceConnections;
/*
* List of private link service proxies.
*/
@JsonProperty(value = "privateLinkServiceProxies")
private List privateLinkServiceProxies;
/*
* List of connection details.
*/
@JsonProperty(value = "connectionDetails")
private List connectionDetails;
/**
* Creates an instance of RemotePrivateEndpoint class.
*/
public RemotePrivateEndpoint() {
}
/**
* Get the id property: Remote endpoint resource ID.
*
* @return the id value.
*/
public String id() {
return this.id;
}
/**
* Set the id property: Remote endpoint resource ID.
*
* @param id the id value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withId(String id) {
this.id = id;
return this;
}
/**
* Get the location property: ARM location of the remote private endpoint.
*
* @return the location value.
*/
public String location() {
return this.location;
}
/**
* Set the location property: ARM location of the remote private endpoint.
*
* @param location the location value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withLocation(String location) {
this.location = location;
return this;
}
/**
* Get the immutableSubscriptionId property: Original subscription ID needed by Microsoft.Network.
*
* @return the immutableSubscriptionId value.
*/
public String immutableSubscriptionId() {
return this.immutableSubscriptionId;
}
/**
* Set the immutableSubscriptionId property: Original subscription ID needed by Microsoft.Network.
*
* @param immutableSubscriptionId the immutableSubscriptionId value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withImmutableSubscriptionId(String immutableSubscriptionId) {
this.immutableSubscriptionId = immutableSubscriptionId;
return this;
}
/**
* Get the immutableResourceId property: Original resource ID needed by Microsoft.Network.
*
* @return the immutableResourceId value.
*/
public String immutableResourceId() {
return this.immutableResourceId;
}
/**
* Set the immutableResourceId property: Original resource ID needed by Microsoft.Network.
*
* @param immutableResourceId the immutableResourceId value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withImmutableResourceId(String immutableResourceId) {
this.immutableResourceId = immutableResourceId;
return this;
}
/**
* Get the vnetTrafficTag property: Virtual network traffic tag.
*
* @return the vnetTrafficTag value.
*/
public String vnetTrafficTag() {
return this.vnetTrafficTag;
}
/**
* Set the vnetTrafficTag property: Virtual network traffic tag.
*
* @param vnetTrafficTag the vnetTrafficTag value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withVnetTrafficTag(String vnetTrafficTag) {
this.vnetTrafficTag = vnetTrafficTag;
return this;
}
/**
* Get the manualPrivateLinkServiceConnections property: List of private link service connections that need manual
* approval.
*
* @return the manualPrivateLinkServiceConnections value.
*/
public List manualPrivateLinkServiceConnections() {
return this.manualPrivateLinkServiceConnections;
}
/**
* Set the manualPrivateLinkServiceConnections property: List of private link service connections that need manual
* approval.
*
* @param manualPrivateLinkServiceConnections the manualPrivateLinkServiceConnections value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withManualPrivateLinkServiceConnections(
List manualPrivateLinkServiceConnections) {
this.manualPrivateLinkServiceConnections = manualPrivateLinkServiceConnections;
return this;
}
/**
* Get the privateLinkServiceConnections property: List of automatically approved private link service connections.
*
* @return the privateLinkServiceConnections value.
*/
public List privateLinkServiceConnections() {
return this.privateLinkServiceConnections;
}
/**
* Set the privateLinkServiceConnections property: List of automatically approved private link service connections.
*
* @param privateLinkServiceConnections the privateLinkServiceConnections value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint
withPrivateLinkServiceConnections(List privateLinkServiceConnections) {
this.privateLinkServiceConnections = privateLinkServiceConnections;
return this;
}
/**
* Get the privateLinkServiceProxies property: List of private link service proxies.
*
* @return the privateLinkServiceProxies value.
*/
public List privateLinkServiceProxies() {
return this.privateLinkServiceProxies;
}
/**
* Set the privateLinkServiceProxies property: List of private link service proxies.
*
* @param privateLinkServiceProxies the privateLinkServiceProxies value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint
withPrivateLinkServiceProxies(List privateLinkServiceProxies) {
this.privateLinkServiceProxies = privateLinkServiceProxies;
return this;
}
/**
* Get the connectionDetails property: List of connection details.
*
* @return the connectionDetails value.
*/
public List connectionDetails() {
return this.connectionDetails;
}
/**
* Set the connectionDetails property: List of connection details.
*
* @param connectionDetails the connectionDetails value to set.
* @return the RemotePrivateEndpoint object itself.
*/
public RemotePrivateEndpoint withConnectionDetails(List connectionDetails) {
this.connectionDetails = connectionDetails;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (manualPrivateLinkServiceConnections() != null) {
manualPrivateLinkServiceConnections().forEach(e -> e.validate());
}
if (privateLinkServiceConnections() != null) {
privateLinkServiceConnections().forEach(e -> e.validate());
}
if (privateLinkServiceProxies() != null) {
privateLinkServiceProxies().forEach(e -> e.validate());
}
if (connectionDetails() != null) {
connectionDetails().forEach(e -> e.validate());
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy