PrivateDnsZoneConfig Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PrivateDnsZoneConfig
- com.
Implements
public final class PrivateDnsZoneConfig
implements JsonSerializable<PrivateDnsZoneConfig>
PrivateDnsZoneConfig resource.
Constructor Summary
Constructor | Description |
---|---|
PrivateDnsZoneConfig() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
name()
Get the name property: Name of the resource that is unique within a resource group. |
String |
privateDnsZoneId()
Get the private |
List<Record |
recordSets()
Get the record |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Private |
withName(String name)
Set the name property: Name of the resource that is unique within a resource group. |
Private |
withPrivateDnsZoneId(String privateDnsZoneId)
Set the private |
Methods inherited from java.lang.Object
Constructor Details
PrivateDnsZoneConfig
public PrivateDnsZoneConfig()
Creates an instance of PrivateDnsZoneConfig class.
Method Details
fromJson
public static PrivateDnsZoneConfig fromJson(JsonReader jsonReader)
Reads an instance of PrivateDnsZoneConfig from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
privateDnsZoneId
public String privateDnsZoneId()
Get the privateDnsZoneId property: The resource id of the private dns zone.
Returns:
recordSets
public List
Get the recordSets property: A collection of information regarding a recordSet, holding information to identify private resources.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public PrivateDnsZoneConfig withName(String name)
Set the name property: Name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withPrivateDnsZoneId
public PrivateDnsZoneConfig withPrivateDnsZoneId(String privateDnsZoneId)
Set the privateDnsZoneId property: The resource id of the private dns zone.
Parameters:
Returns:
Applies to
Azure SDK for Java