Class RecordSet
- java.lang.Object
-
- com.azure.resourcemanager.network.models.RecordSet
-
public final class RecordSet extends Object
A collective group of information about the record set information.
-
-
Constructor Summary
Constructors Constructor Description RecordSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringfqdn()Get the fqdn property: Fqdn that resolves to private endpoint ip address.List<String>ipAddresses()Get the ipAddresses property: The private ip address of the private endpoint.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the recordset.StringrecordSetName()Get the recordSetName property: Recordset name.StringrecordType()Get the recordType property: Resource record type.Integerttl()Get the ttl property: Recordset time to live.voidvalidate()Validates the instance.RecordSetwithFqdn(String fqdn)Set the fqdn property: Fqdn that resolves to private endpoint ip address.RecordSetwithIpAddresses(List<String> ipAddresses)Set the ipAddresses property: The private ip address of the private endpoint.RecordSetwithRecordSetName(String recordSetName)Set the recordSetName property: Recordset name.RecordSetwithRecordType(String recordType)Set the recordType property: Resource record type.RecordSetwithTtl(Integer ttl)Set the ttl property: Recordset time to live.
-
-
-
Method Detail
-
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.
-
-