DomainPropertiesVerificationRecords Class

  • java.lang.Object
    • com.azure.resourcemanager.communication.models.DomainPropertiesVerificationRecords

Implements

public final class DomainPropertiesVerificationRecords
implements JsonSerializable<DomainPropertiesVerificationRecords>

List of DnsRecord.

Constructor Summary

Constructor Description
DomainPropertiesVerificationRecords()

Creates an instance of DomainPropertiesVerificationRecords class.

Method Summary

Modifier and Type Method and 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.

static DomainPropertiesVerificationRecords fromJson(JsonReader jsonReader)

Reads an instance of DomainPropertiesVerificationRecords from the JsonReader.

DnsRecord spf()

Get the spf property: A class that represents a VerificationStatus record.

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

DomainPropertiesVerificationRecords

public DomainPropertiesVerificationRecords()

Creates an instance of DomainPropertiesVerificationRecords class.

Method Details

dkim

public DnsRecord dkim()

Get the dkim property: A class that represents a VerificationStatus record.

Returns:

the dkim value.

dkim2

public DnsRecord dkim2()

Get the dkim2 property: A class that represents a VerificationStatus record.

Returns:

the dkim2 value.

dmarc

public DnsRecord dmarc()

Get the dmarc property: A class that represents a VerificationStatus record.

Returns:

the dmarc value.

domain

public DnsRecord domain()

Get the domain property: A class that represents a VerificationStatus record.

Returns:

the domain value.

fromJson

public static DomainPropertiesVerificationRecords fromJson(JsonReader jsonReader)

Reads an instance of DomainPropertiesVerificationRecords from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DomainPropertiesVerificationRecords 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 DomainPropertiesVerificationRecords.

spf

public DnsRecord spf()

Get the spf property: A class that represents a VerificationStatus record.

Returns:

the spf value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

Applies to