SenderUsernameResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. communication. fluent. models. SenderUsernameResourceInner
- com.
- com.
public final class SenderUsernameResourceInner
extends ProxyResource
A class representing a SenderUsername resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SenderUsernameResourceInner() |
Creates an instance of Sender |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
dataLocation()
Get the data |
| String |
displayName()
Get the display |
|
static
Sender |
fromJson(JsonReader jsonReader)
Reads an instance of Sender |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
username()
Get the username property: A sender sender |
| void |
validate()
Validates the instance. |
|
Sender |
withDisplayName(String displayName)
Set the display |
|
Sender |
withUsername(String username)
Set the username property: A sender sender |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SenderUsernameResourceInner
public SenderUsernameResourceInner()
Creates an instance of SenderUsernameResourceInner class.
Method Details
dataLocation
public String dataLocation()
Get the dataLocation property: The location where the SenderUsername resource data is stored at rest.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the senderUsername.
Returns:
fromJson
public static SenderUsernameResourceInner fromJson(JsonReader jsonReader)
Reads an instance of SenderUsernameResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SenderUsernameResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SenderUsernameResourceInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource. Unknown is the default state for Communication Services.
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:
SenderUsernameResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SenderUsernameResourceInner.type()Returns:
username
public String username()
Get the username property: A sender senderUsername to be used when sending emails.
Returns:
validate
public void validate()
Validates the instance.
withDisplayName
public SenderUsernameResourceInner withDisplayName(String displayName)
Set the displayName property: The display name for the senderUsername.
Parameters:
Returns:
withUsername
public SenderUsernameResourceInner withUsername(String username)
Set the username property: A sender senderUsername to be used when sending emails.
Parameters:
Returns: