SmtpUsernameResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. communication. fluent. models. SmtpUsernameResourceInner
- com.
- com.
public final class SmtpUsernameResourceInner
extends ProxyResource
The object describing the smtp username resource.
Constructor Summary
| Constructor | Description |
|---|---|
| SmtpUsernameResourceInner() |
Creates an instance of Smtp |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
entraApplicationId()
Get the entra |
|
static
Smtp |
fromJson(JsonReader jsonReader)
Reads an instance of Smtp |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
System |
systemData()
Get the system |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
username()
Get the username property: The SMTP username. |
| void |
validate()
Validates the instance. |
|
Smtp |
withEntraApplicationId(String entraApplicationId)
Set the entra |
|
Smtp |
withTenantId(String tenantId)
Set the tenant |
|
Smtp |
withUsername(String username)
Set the username property: The SMTP username. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
SmtpUsernameResourceInner
public SmtpUsernameResourceInner()
Creates an instance of SmtpUsernameResourceInner class.
Method Details
entraApplicationId
public String entraApplicationId()
Get the entraApplicationId property: The application Id for the linked Entra Application.
Returns:
fromJson
public static SmtpUsernameResourceInner fromJson(JsonReader jsonReader)
Reads an instance of SmtpUsernameResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
SmtpUsernameResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
SmtpUsernameResourceInner.name()Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant of the linked Entra Application.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SmtpUsernameResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
SmtpUsernameResourceInner.type()Returns:
username
public String username()
Get the username property: The SMTP username. Could be free form or in the email address format.
Returns:
validate
public void validate()
Validates the instance.
withEntraApplicationId
public SmtpUsernameResourceInner withEntraApplicationId(String entraApplicationId)
Set the entraApplicationId property: The application Id for the linked Entra Application.
Parameters:
Returns:
withTenantId
public SmtpUsernameResourceInner withTenantId(String tenantId)
Set the tenantId property: The tenant of the linked Entra Application.
Parameters:
Returns:
withUsername
public SmtpUsernameResourceInner withUsername(String username)
Set the username property: The SMTP username. Could be free form or in the email address format.
Parameters:
Returns: