RecordSetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. dns. fluent. models. RecordSetInner
- com.
- com.
public final class RecordSetInner
extends ProxyResource
Describes a DNS record set (a collection of DNS records with the same name and type).
Constructor Summary
Constructor | Description |
---|---|
RecordSetInner() |
Creates an instance of Record |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<ARecord> |
aRecords()
Get the a |
List<Aaaa |
aaaaRecords()
Get the aaaa |
List<Caa |
caaRecords()
Get the caa |
Cname |
cnameRecord()
Get the cname |
String |
etag()
Get the etag property: The etag of the record set. |
String |
fqdn()
Get the fqdn property: Fully qualified domain name of the record set. |
static
Record |
fromJson(JsonReader jsonReader)
Reads an instance of Record |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Map<String,String> |
metadata()
Get the metadata property: The metadata attached to the record set. |
List<Mx |
mxRecords()
Get the mx |
String |
name()
Get the name property: The name of the resource. |
List<Ns |
nsRecords()
Get the ns |
String |
provisioningState()
Get the provisioning |
List<Ptr |
ptrRecords()
Get the ptr |
Soa |
soaRecord()
Get the soa |
List<Srv |
srvRecords()
Get the srv |
Sub |
targetResource()
Get the target |
Json |
toJson(JsonWriter jsonWriter) |
Long |
ttl()
Get the ttl property: The TTL (time-to-live) of the records in the record set. |
List<Txt |
txtRecords()
Get the txt |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Record |
withARecords(List<ARecord> aRecords)
Set the a |
Record |
withAaaaRecords(List<AaaaRecord> aaaaRecords)
Set the aaaa |
Record |
withCaaRecords(List<CaaRecord> caaRecords)
Set the caa |
Record |
withCnameRecord(CnameRecord cnameRecord)
Set the cname |
Record |
withEtag(String etag)
Set the etag property: The etag of the record set. |
Record |
withMetadata(Map<String,String> metadata)
Set the metadata property: The metadata attached to the record set. |
Record |
withMxRecords(List<MxRecord> mxRecords)
Set the mx |
Record |
withNsRecords(List<NsRecord> nsRecords)
Set the ns |
Record |
withPtrRecords(List<PtrRecord> ptrRecords)
Set the ptr |
Record |
withSoaRecord(SoaRecord soaRecord)
Set the soa |
Record |
withSrvRecords(List<SrvRecord> srvRecords)
Set the srv |
Record |
withTargetResource(SubResource targetResource)
Set the target |
Record |
withTtl(Long ttl)
Set the ttl property: The TTL (time-to-live) of the records in the record set. |
Record |
withTxtRecords(List<TxtRecord> txtRecords)
Set the txt |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RecordSetInner
public RecordSetInner()
Creates an instance of RecordSetInner class.
Method Details
aRecords
public List
Get the aRecords property: The list of A records in the record set.
Returns:
aaaaRecords
public List
Get the aaaaRecords property: The list of AAAA records in the record set.
Returns:
caaRecords
public List
Get the caaRecords property: The list of CAA records in the record set.
Returns:
cnameRecord
public CnameRecord cnameRecord()
Get the cnameRecord property: The CNAME record in the record set.
Returns:
etag
public String etag()
Get the etag property: The etag of the record set.
Returns:
fqdn
public String fqdn()
Get the fqdn property: Fully qualified domain name of the record set.
Returns:
fromJson
public static RecordSetInner fromJson(JsonReader jsonReader)
Reads an instance of RecordSetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RecordSetInner.id()Returns:
metadata
public Map
Get the metadata property: The metadata attached to the record set.
Returns:
mxRecords
public List
Get the mxRecords property: The list of MX records in the record set.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RecordSetInner.name()Returns:
nsRecords
public List
Get the nsRecords property: The list of NS records in the record set.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: provisioning State of the record set.
Returns:
ptrRecords
public List
Get the ptrRecords property: The list of PTR records in the record set.
Returns:
soaRecord
public SoaRecord soaRecord()
Get the soaRecord property: The SOA record in the record set.
Returns:
srvRecords
public List
Get the srvRecords property: The list of SRV records in the record set.
Returns:
targetResource
public SubResource targetResource()
Get the targetResource property: A reference to an azure resource from where the dns resource value is taken.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RecordSetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
ttl
public Long ttl()
Get the ttl property: The TTL (time-to-live) of the records in the record set.
Returns:
txtRecords
public List
Get the txtRecords property: The list of TXT records in the record set.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RecordSetInner.type()Returns:
validate
public void validate()
Validates the instance.
withARecords
public RecordSetInner withARecords(List
Set the aRecords property: The list of A records in the record set.
Parameters:
Returns:
withAaaaRecords
public RecordSetInner withAaaaRecords(List
Set the aaaaRecords property: The list of AAAA records in the record set.
Parameters:
Returns:
withCaaRecords
public RecordSetInner withCaaRecords(List
Set the caaRecords property: The list of CAA records in the record set.
Parameters:
Returns:
withCnameRecord
public RecordSetInner withCnameRecord(CnameRecord cnameRecord)
Set the cnameRecord property: The CNAME record in the record set.
Parameters:
Returns:
withEtag
public RecordSetInner withEtag(String etag)
Set the etag property: The etag of the record set.
Parameters:
Returns:
withMetadata
public RecordSetInner withMetadata(Map
Set the metadata property: The metadata attached to the record set.
Parameters:
Returns:
withMxRecords
public RecordSetInner withMxRecords(List
Set the mxRecords property: The list of MX records in the record set.
Parameters:
Returns:
withNsRecords
public RecordSetInner withNsRecords(List
Set the nsRecords property: The list of NS records in the record set.
Parameters:
Returns:
withPtrRecords
public RecordSetInner withPtrRecords(List
Set the ptrRecords property: The list of PTR records in the record set.
Parameters:
Returns:
withSoaRecord
public RecordSetInner withSoaRecord(SoaRecord soaRecord)
Set the soaRecord property: The SOA record in the record set.
Parameters:
Returns:
withSrvRecords
public RecordSetInner withSrvRecords(List
Set the srvRecords property: The list of SRV records in the record set.
Parameters:
Returns:
withTargetResource
public RecordSetInner withTargetResource(SubResource targetResource)
Set the targetResource property: A reference to an azure resource from where the dns resource value is taken.
Parameters:
Returns:
withTtl
public RecordSetInner withTtl(Long ttl)
Set the ttl property: The TTL (time-to-live) of the records in the record set.
Parameters:
Returns:
withTxtRecords
public RecordSetInner withTxtRecords(List
Set the txtRecords property: The list of TXT records in the record set.
Parameters:
Returns:
Applies to
Azure SDK for Java