SuppressionListResourceInner Class

public final class SuppressionListResourceInner
extends ProxyResource

A class representing a SuppressionList resource.

Constructor Summary

Constructor Description
SuppressionListResourceInner()

Creates an instance of SuppressionListResourceInner class.

Method Summary

Modifier and Type Method and Description
String createdTimestamp()

Get the createdTimestamp property: The date the resource was created.

String dataLocation()

Get the dataLocation property: The location where the SuppressionListAddress data is stored at rest.

static SuppressionListResourceInner fromJson(JsonReader jsonReader)

Reads an instance of SuppressionListResourceInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: The date the resource was last updated.

String listName()

Get the listName property: The name of the suppression list.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SuppressionListResourceInner withListName(String listName)

Set the listName property: The name of the suppression list.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SuppressionListResourceInner

public SuppressionListResourceInner()

Creates an instance of SuppressionListResourceInner class.

Method Details

createdTimestamp

public String createdTimestamp()

Get the createdTimestamp property: The date the resource was created.

Returns:

the createdTimestamp value.

dataLocation

public String dataLocation()

Get the dataLocation property: The location where the SuppressionListAddress data is stored at rest. This value is inherited from the parent Domains resource.

Returns:

the dataLocation value.

fromJson

public static SuppressionListResourceInner fromJson(JsonReader jsonReader)

Reads an instance of SuppressionListResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SuppressionListResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SuppressionListResourceInner.id()

Returns:

the id value.

lastUpdatedTimestamp

public String lastUpdatedTimestamp()

Get the lastUpdatedTimestamp property: The date the resource was last updated.

Returns:

the lastUpdatedTimestamp value.

listName

public String listName()

Get the listName property: The name of the suppression list. This value must match one of the valid sender usernames of the sending domain.

Returns:

the listName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SuppressionListResourceInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SuppressionListResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SuppressionListResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withListName

public SuppressionListResourceInner withListName(String listName)

Set the listName property: The name of the suppression list. This value must match one of the valid sender usernames of the sending domain.

Parameters:

listName - the listName value to set.

Returns:

the SuppressionListResourceInner object itself.

Applies to