PrivateLinkResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. keyvault. models. PrivateLinkResource
- com.
- com.
- com.
public final class PrivateLinkResource
extends Resource
A private link resource.
Constructor Summary
Constructor | Description |
---|---|
PrivateLinkResource() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
groupId()
Get the group |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
List<String> |
requiredMembers()
Get the required |
List<String> |
requiredZoneNames()
Get the required |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Private |
withLocation(String location) |
Private |
withRequiredZoneNames(List<String> requiredZoneNames)
Set the required |
Private |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResource
public PrivateLinkResource()
Creates an instance of PrivateLinkResource class.
Method Details
fromJson
public static PrivateLinkResource fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResource from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: Group identifier of private link resource.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PrivateLinkResource.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PrivateLinkResource.name()Returns:
requiredMembers
public List
Get the requiredMembers property: Required member names of private link resource.
Returns:
requiredZoneNames
public List
Get the requiredZoneNames property: Required DNS zone names of the the private link resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateLinkResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PrivateLinkResource.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public PrivateLinkResource withLocation(String location)
Overrides:
PrivateLinkResource.withLocation(String location)Parameters:
withRequiredZoneNames
public PrivateLinkResource withRequiredZoneNames(List
Set the requiredZoneNames property: Required DNS zone names of the the private link resource.
Parameters:
Returns:
withTags
public PrivateLinkResource withTags(Map
Overrides:
PrivateLinkResource.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java