SuppressionListAddressResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. communication. fluent. models. SuppressionListAddressResourceInner
- com.
- com.
public final class SuppressionListAddressResourceInner
extends ProxyResource
A object that represents a SuppressionList record.
Constructor Summary
| Constructor | Description |
|---|---|
| SuppressionListAddressResourceInner() |
Creates an instance of Suppression |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
dataLocation()
Get the data |
| String |
email()
Get the email property: Email address of the recipient. |
| String |
firstName()
Get the first |
|
static
Suppression |
fromJson(JsonReader jsonReader)
Reads an instance of Suppression |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Offset |
lastModified()
Get the last |
| String |
lastName()
Get the last |
| String |
name()
Get the name property: The name of the resource. |
| String |
notes()
Get the notes property: An optional property to provide contextual notes or a description for an address. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Suppression |
withEmail(String email)
Set the email property: Email address of the recipient. |
|
Suppression |
withFirstName(String firstName)
Set the first |
|
Suppression |
withLastName(String lastName)
Set the last |
|
Suppression |
withNotes(String notes)
Set the notes property: An optional property to provide contextual notes or a description for an address. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SuppressionListAddressResourceInner
public SuppressionListAddressResourceInner()
Creates an instance of SuppressionListAddressResourceInner class.
Method Details
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:
public String email()
Get the email property: Email address of the recipient.
Returns:
firstName
public String firstName()
Get the firstName property: The first name of the email recipient.
Returns:
fromJson
public static SuppressionListAddressResourceInner fromJson(JsonReader jsonReader)
Reads an instance of SuppressionListAddressResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SuppressionListAddressResourceInner.id()Returns:
lastModified
public OffsetDateTime lastModified()
Get the lastModified property: The date the address was last updated in a suppression list.
Returns:
lastName
public String lastName()
Get the lastName property: The last name of the email recipient.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SuppressionListAddressResourceInner.name()Returns:
notes
public String notes()
Get the notes property: An optional property to provide contextual notes or a description for an address.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SuppressionListAddressResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SuppressionListAddressResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withEmail
public SuppressionListAddressResourceInner withEmail(String email)
Set the email property: Email address of the recipient.
Parameters:
Returns:
withFirstName
public SuppressionListAddressResourceInner withFirstName(String firstName)
Set the firstName property: The first name of the email recipient.
Parameters:
Returns:
withLastName
public SuppressionListAddressResourceInner withLastName(String lastName)
Set the lastName property: The last name of the email recipient.
Parameters:
Returns:
withNotes
public SuppressionListAddressResourceInner withNotes(String notes)
Set the notes property: An optional property to provide contextual notes or a description for an address.
Parameters:
Returns: