Class DomainPropertiesVerificationRecords
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.DomainPropertiesVerificationRecords
-
public final class DomainPropertiesVerificationRecords extends Object
List of DnsRecord.
-
-
Constructor Summary
Constructors Constructor Description DomainPropertiesVerificationRecords()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DnsRecord
dkim()
Get the dkim property: A class that represents a VerificationStatus record.DnsRecord
dkim2()
Get the dkim2 property: A class that represents a VerificationStatus record.DnsRecord
dmarc()
Get the dmarc property: A class that represents a VerificationStatus record.DnsRecord
domain()
Get the domain property: A class that represents a VerificationStatus record.DnsRecord
spf()
Get the spf property: A class that represents a VerificationStatus record.void
validate()
Validates the instance.DomainPropertiesVerificationRecords
withDkim(DnsRecord dkim)
Set the dkim property: A class that represents a VerificationStatus record.DomainPropertiesVerificationRecords
withDkim2(DnsRecord dkim2)
Set the dkim2 property: A class that represents a VerificationStatus record.DomainPropertiesVerificationRecords
withDmarc(DnsRecord dmarc)
Set the dmarc property: A class that represents a VerificationStatus record.DomainPropertiesVerificationRecords
withDomain(DnsRecord domain)
Set the domain property: A class that represents a VerificationStatus record.DomainPropertiesVerificationRecords
withSpf(DnsRecord spf)
Set the spf property: A class that represents a VerificationStatus record.
-
-
-
Method Detail
-
domain
public DnsRecord domain()
Get the domain property: A class that represents a VerificationStatus record.- Returns:
- the domain value.
-
withDomain
public DomainPropertiesVerificationRecords withDomain(DnsRecord domain)
Set the domain property: A class that represents a VerificationStatus record.- Parameters:
domain
- the domain value to set.- Returns:
- the DomainPropertiesVerificationRecords object itself.
-
spf
public DnsRecord spf()
Get the spf property: A class that represents a VerificationStatus record.- Returns:
- the spf value.
-
withSpf
public DomainPropertiesVerificationRecords withSpf(DnsRecord spf)
Set the spf property: A class that represents a VerificationStatus record.- Parameters:
spf
- the spf value to set.- Returns:
- the DomainPropertiesVerificationRecords object itself.
-
dkim
public DnsRecord dkim()
Get the dkim property: A class that represents a VerificationStatus record.- Returns:
- the dkim value.
-
withDkim
public DomainPropertiesVerificationRecords withDkim(DnsRecord dkim)
Set the dkim property: A class that represents a VerificationStatus record.- Parameters:
dkim
- the dkim value to set.- Returns:
- the DomainPropertiesVerificationRecords object itself.
-
dkim2
public DnsRecord dkim2()
Get the dkim2 property: A class that represents a VerificationStatus record.- Returns:
- the dkim2 value.
-
withDkim2
public DomainPropertiesVerificationRecords withDkim2(DnsRecord dkim2)
Set the dkim2 property: A class that represents a VerificationStatus record.- Parameters:
dkim2
- the dkim2 value to set.- Returns:
- the DomainPropertiesVerificationRecords object itself.
-
dmarc
public DnsRecord dmarc()
Get the dmarc property: A class that represents a VerificationStatus record.- Returns:
- the dmarc value.
-
withDmarc
public DomainPropertiesVerificationRecords withDmarc(DnsRecord dmarc)
Set the dmarc property: A class that represents a VerificationStatus record.- Parameters:
dmarc
- the dmarc value to set.- Returns:
- the DomainPropertiesVerificationRecords object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-