Class RecordSet
java.lang.Object
com.azure.resourcemanager.network.models.RecordSet
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RecordSet>
-
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 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
-
recordSetName
Get the recordSetName property: Recordset name.- Returns:
- the recordSetName value.
-
withRecordSetName
-
fqdn
Get the fqdn property: Fqdn that resolves to private endpoint ip address.- Returns:
- the fqdn value.
-
withFqdn
-
provisioningState
Get the provisioningState property: The provisioning state of the recordset.- Returns:
- the provisioningState value.
-
ttl
-
withTtl
-
ipAddresses
-
withIpAddresses
-
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.
-