public class PrivateDnsZoneConfig extends Object
| Constructor and Description |
|---|
PrivateDnsZoneConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: Name of the resource that is unique within a resource group.
|
String |
privateDnsZoneId()
Get the privateDnsZoneId property: The resource id of the private dns zone.
|
List<RecordSet> |
recordSets()
Get the recordSets property: A collection of information regarding a recordSet, holding information to identify
private resources.
|
void |
validate()
Validates the instance.
|
PrivateDnsZoneConfig |
withName(String name)
Set the name property: Name of the resource that is unique within a resource group.
|
PrivateDnsZoneConfig |
withPrivateDnsZoneId(String privateDnsZoneId)
Set the privateDnsZoneId property: The resource id of the private dns zone.
|
public String name()
public PrivateDnsZoneConfig withName(String name)
name - the name value to set.public String privateDnsZoneId()
public PrivateDnsZoneConfig withPrivateDnsZoneId(String privateDnsZoneId)
privateDnsZoneId - the privateDnsZoneId value to set.public List<RecordSet> recordSets()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.