Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
A private link resource.
/**
* A private link resource.
*/
@JsonFlatten
public class PrivateLinkResource {
The private link resource group id.
/**
* The private link resource group id.
*/
@JsonProperty(value = "properties.groupId", access = JsonProperty.Access.WRITE_ONLY)
private String groupId;
The private link resource required member names.
/**
* The private link resource required member names.
*/
@JsonProperty(value = "properties.requiredMembers", access = JsonProperty.Access.WRITE_ONLY)
private List<String> requiredMembers;
The private link resource DNS zone name.
/**
* The private link resource DNS zone name.
*/
@JsonProperty(value = "properties.requiredZoneNames")
private List<String> requiredZoneNames;
private link resource Id.
/**
* private link resource Id.
*/
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
private link resource name.
/**
* private link resource name.
*/
@JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
private String name;
private link resource type.
/**
* private link resource type.
*/
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
private String type;
Get the private link resource group id.
Returns: the groupId value
/**
* Get the private link resource group id.
*
* @return the groupId value
*/
public String groupId() {
return this.groupId;
}
Get the private link resource required member names.
Returns: the requiredMembers value
/**
* Get the private link resource required member names.
*
* @return the requiredMembers value
*/
public List<String> requiredMembers() {
return this.requiredMembers;
}
Get the private link resource DNS zone name.
Returns: the requiredZoneNames value
/**
* Get the private link resource DNS zone name.
*
* @return the requiredZoneNames value
*/
public List<String> requiredZoneNames() {
return this.requiredZoneNames;
}
Set the private link resource DNS zone name.
Params: - requiredZoneNames – the requiredZoneNames value to set
Returns: the PrivateLinkResource object itself.
/**
* Set the private link resource DNS zone name.
*
* @param requiredZoneNames the requiredZoneNames value to set
* @return the PrivateLinkResource object itself.
*/
public PrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames) {
this.requiredZoneNames = requiredZoneNames;
return this;
}
Get private link resource Id.
Returns: the id value
/**
* Get private link resource Id.
*
* @return the id value
*/
public String id() {
return this.id;
}
Get private link resource name.
Returns: the name value
/**
* Get private link resource name.
*
* @return the name value
*/
public String name() {
return this.name;
}
Get private link resource type.
Returns: the type value
/**
* Get private link resource type.
*
* @return the type value
*/
public String type() {
return this.type;
}
}