RecordSet Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.RecordSet

Implements

public final class RecordSet
implements JsonSerializable<RecordSet>

A collective group of information about the record set information.

Constructor Summary

Constructor Description
RecordSet()

Creates an instance of RecordSet class.

Method Summary

Modifier and Type Method and Description
String fqdn()

Get the fqdn property: Fqdn that resolves to private endpoint ip address.

static RecordSet fromJson(JsonReader jsonReader)

Reads an instance of RecordSet from the JsonReader.

List<String> ipAddresses()

Get the ipAddresses property: The private ip address of the private endpoint.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the recordset.

String recordSetName()

Get the recordSetName property: Recordset name.

String recordType()

Get the recordType property: Resource record type.

JsonWriter toJson(JsonWriter jsonWriter)
Integer ttl()

Get the ttl property: Recordset time to live.

void validate()

Validates the instance.

RecordSet withFqdn(String fqdn)

Set the fqdn property: Fqdn that resolves to private endpoint ip address.

RecordSet withIpAddresses(List<String> ipAddresses)

Set the ipAddresses property: The private ip address of the private endpoint.

RecordSet withRecordSetName(String recordSetName)

Set the recordSetName property: Recordset name.

RecordSet withRecordType(String recordType)

Set the recordType property: Resource record type.

RecordSet withTtl(Integer ttl)

Set the ttl property: Recordset time to live.

Methods inherited from java.lang.Object

Constructor Details

RecordSet

public RecordSet()

Creates an instance of RecordSet class.

Method Details

fqdn

public String fqdn()

Get the fqdn property: Fqdn that resolves to private endpoint ip address.

Returns:

the fqdn value.

fromJson

public static RecordSet fromJson(JsonReader jsonReader)

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.

ipAddresses

public List ipAddresses()

Get the ipAddresses property: The private ip address of the private endpoint.

Returns:

the ipAddresses value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the recordset.

Returns:

the provisioningState value.

recordSetName

public String recordSetName()

Get the recordSetName property: Recordset name.

Returns:

the recordSetName value.

recordType

public String recordType()

Get the recordType property: Resource record type.

Returns:

the recordType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

ttl

public Integer ttl()

Get the ttl property: Recordset time to live.

Returns:

the ttl value.

validate

public void validate()

Validates the instance.

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.

withIpAddresses

public RecordSet withIpAddresses(List 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.

withRecordSetName

public RecordSet withRecordSetName(String recordSetName)

Set the recordSetName property: Recordset name.

Parameters:

recordSetName - the recordSetName value to set.

Returns:

the RecordSet object itself.

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.

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.

Applies to