DomainPropertiesVerificationStates Class

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

Implements

public final class DomainPropertiesVerificationStates
implements JsonSerializable<DomainPropertiesVerificationStates>

List of VerificationStatusRecord.

Constructor Summary

Constructor Description
DomainPropertiesVerificationStates()

Creates an instance of DomainPropertiesVerificationStates class.

Method Summary

Modifier and Type Method and Description
VerificationStatusRecord dkim()

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

VerificationStatusRecord dkim2()

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

VerificationStatusRecord dmarc()

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

VerificationStatusRecord domain()

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

static DomainPropertiesVerificationStates fromJson(JsonReader jsonReader)

Reads an instance of DomainPropertiesVerificationStates from the JsonReader.

VerificationStatusRecord spf()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DomainPropertiesVerificationStates withDkim(VerificationStatusRecord dkim)

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

DomainPropertiesVerificationStates withDkim2(VerificationStatusRecord dkim2)

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

DomainPropertiesVerificationStates withDmarc(VerificationStatusRecord dmarc)

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

DomainPropertiesVerificationStates withDomain(VerificationStatusRecord domain)

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

DomainPropertiesVerificationStates withSpf(VerificationStatusRecord spf)

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

Methods inherited from java.lang.Object

Constructor Details

DomainPropertiesVerificationStates

public DomainPropertiesVerificationStates()

Creates an instance of DomainPropertiesVerificationStates class.

Method Details

dkim

public VerificationStatusRecord dkim()

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

Returns:

the dkim value.

dkim2

public VerificationStatusRecord dkim2()

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

Returns:

the dkim2 value.

dmarc

public VerificationStatusRecord dmarc()

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

Returns:

the dmarc value.

domain

public VerificationStatusRecord domain()

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

Returns:

the domain value.

fromJson

public static DomainPropertiesVerificationStates fromJson(JsonReader jsonReader)

Reads an instance of DomainPropertiesVerificationStates from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

spf

public VerificationStatusRecord 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 DomainPropertiesVerificationStates withDkim(VerificationStatusRecord dkim)

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

Parameters:

dkim - the dkim value to set.

Returns:

the DomainPropertiesVerificationStates object itself.

withDkim2

public DomainPropertiesVerificationStates withDkim2(VerificationStatusRecord dkim2)

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

Parameters:

dkim2 - the dkim2 value to set.

Returns:

the DomainPropertiesVerificationStates object itself.

withDmarc

public DomainPropertiesVerificationStates withDmarc(VerificationStatusRecord dmarc)

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

Parameters:

dmarc - the dmarc value to set.

Returns:

the DomainPropertiesVerificationStates object itself.

withDomain

public DomainPropertiesVerificationStates withDomain(VerificationStatusRecord domain)

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

Parameters:

domain - the domain value to set.

Returns:

the DomainPropertiesVerificationStates object itself.

withSpf

public DomainPropertiesVerificationStates withSpf(VerificationStatusRecord spf)

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

Parameters:

spf - the spf value to set.

Returns:

the DomainPropertiesVerificationStates object itself.

Applies to