Class RecordSet
java.lang.Object
com.azure.resourcemanager.network.models.RecordSet
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RecordSet>
A collective group of information about the record set information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfqdn()Get the fqdn property: Fqdn that resolves to private endpoint ip address.static RecordSetfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RecordSet from the JsonReader.Get the ipAddresses property: The private ip address of the private endpoint.Get the provisioningState property: The provisioning state of the recordset.Get the recordSetName property: Recordset name.Get the recordType property: Resource record type.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) ttl()Get the ttl property: Recordset time to live.voidvalidate()Validates the instance.Set the fqdn property: Fqdn that resolves to private endpoint ip address.withIpAddresses(List<String> ipAddresses) Set the ipAddresses property: The private ip address of the private endpoint.withRecordSetName(String recordSetName) Set the recordSetName property: Recordset name.withRecordType(String recordType) Set the recordType property: Resource record type.Set the ttl property: Recordset time to live.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RecordSet
public RecordSet()Creates an instance of RecordSet class.
-
-
Method Details
-
recordType
Get the recordType property: Resource record type.- Returns:
- the recordType value.
-
withRecordType
Set the recordType property: Resource record type.- Parameters:
recordType- the recordType value to set.- Returns:
- the RecordSet object itself.
-
recordSetName
Get the recordSetName property: Recordset name.- Returns:
- the recordSetName value.
-
withRecordSetName
Set the recordSetName property: Recordset name.- Parameters:
recordSetName- the recordSetName value to set.- Returns:
- the RecordSet object itself.
-
fqdn
Get the fqdn property: Fqdn that resolves to private endpoint ip address.- Returns:
- the fqdn value.
-
withFqdn
Set the fqdn property: Fqdn that resolves to private endpoint ip address.- Parameters:
fqdn- the fqdn value to set.- Returns:
- the RecordSet object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the recordset.- Returns:
- the provisioningState value.
-
ttl
Get the ttl property: Recordset time to live.- Returns:
- the ttl value.
-
withTtl
Set the ttl property: Recordset time to live.- Parameters:
ttl- the ttl value to set.- Returns:
- the RecordSet object itself.
-
ipAddresses
Get the ipAddresses property: The private ip address of the private endpoint.- Returns:
- the ipAddresses value.
-
withIpAddresses
Set the ipAddresses property: The private ip address of the private endpoint.- Parameters:
ipAddresses- the ipAddresses value to set.- Returns:
- the RecordSet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RecordSet>- Throws:
IOException
-
fromJson
Reads an instance of RecordSet from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RecordSet if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the RecordSet.
-