Class DnsZone
java.lang.Object
com.azure.resourcemanager.recoveryservices.models.DnsZone
- Direct Known Subclasses:
DnsZoneResponse
DNSZone information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the subResource property: Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery.void
validate()
Validates the instance.withSubResource
(VaultSubResourceType subResource) Set the subResource property: Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery.
-
Constructor Details
-
DnsZone
public DnsZone()Creates an instance of DnsZone class.
-
-
Method Details
-
subResource
Get the subResource property: Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery.- Returns:
- the subResource value.
-
withSubResource
Set the subResource property: Subresource type for vault AzureBackup, AzureBackup_secondary or AzureSiteRecovery.- Parameters:
subResource
- the subResource value to set.- Returns:
- the DnsZone object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-