Class RecordSet

java.lang.Object
com.azure.resourcemanager.network.models.RecordSet
All Implemented Interfaces:
com.azure.json.JsonSerializable<RecordSet>

public final class RecordSet extends Object implements com.azure.json.JsonSerializable<RecordSet>
A collective group of information about the record set information.
  • Constructor Details

    • RecordSet

      public RecordSet()
      Creates an instance of RecordSet class.
  • Method Details

    • recordType

      public String recordType()
      Get the recordType property: Resource record type.
      Returns:
      the recordType value.
    • withRecordType

      public RecordSet withRecordType(String recordType)
      Set the recordType property: Resource record type.
      Parameters:
      recordType - the recordType value to set.
      Returns:
      the RecordSet object itself.
    • recordSetName

      public String recordSetName()
      Get the recordSetName property: Recordset name.
      Returns:
      the recordSetName value.
    • withRecordSetName

      public RecordSet withRecordSetName(String recordSetName)
      Set the recordSetName property: Recordset name.
      Parameters:
      recordSetName - the recordSetName value to set.
      Returns:
      the RecordSet object itself.
    • fqdn

      public String fqdn()
      Get the fqdn property: Fqdn that resolves to private endpoint ip address.
      Returns:
      the fqdn value.
    • withFqdn

      public RecordSet withFqdn(String fqdn)
      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

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the recordset.
      Returns:
      the provisioningState value.
    • ttl

      public Integer ttl()
      Get the ttl property: Recordset time to live.
      Returns:
      the ttl value.
    • withTtl

      public RecordSet withTtl(Integer ttl)
      Set the ttl property: Recordset time to live.
      Parameters:
      ttl - the ttl value to set.
      Returns:
      the RecordSet object itself.
    • ipAddresses

      public List<String> ipAddresses()
      Get the ipAddresses property: The private ip address of the private endpoint.
      Returns:
      the ipAddresses value.
    • withIpAddresses

      public RecordSet withIpAddresses(List<String> ipAddresses)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RecordSet>
      Throws:
      IOException
    • fromJson

      public static RecordSet fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.