Lezen in het Engels

Delen via


SenderUsernameProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.communication.fluent.models.SenderUsernameProperties

public final class SenderUsernameProperties

A class that describes the properties of a SenderUsername resource.

Constructor Summary

Constructor Description
SenderUsernameProperties()

Creates an instance of SenderUsernameProperties class.

Method Summary

Modifier and Type Method and Description
String dataLocation()

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

String displayName()

Get the displayName property: The display name for the senderUsername.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String username()

Get the username property: A sender senderUsername to be used when sending emails.

void validate()

Validates the instance.

SenderUsernameProperties withDisplayName(String displayName)

Set the displayName property: The display name for the senderUsername.

SenderUsernameProperties withUsername(String username)

Set the username property: A sender senderUsername to be used when sending emails.

Methods inherited from java.lang.Object

Constructor Details

SenderUsernameProperties

public SenderUsernameProperties()

Creates an instance of SenderUsernameProperties class.

Method Details

dataLocation

public String dataLocation()

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

Returns:

the dataLocation value.

displayName

public String displayName()

Get the displayName property: The display name for the senderUsername.

Returns:

the displayName value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource. Unknown is the default state for Communication Services.

Returns:

the provisioningState value.

username

public String username()

Get the username property: A sender senderUsername to be used when sending emails.

Returns:

the username value.

validate

public void validate()

Validates the instance.

withDisplayName

public SenderUsernameProperties withDisplayName(String displayName)

Set the displayName property: The display name for the senderUsername.

Parameters:

displayName - the displayName value to set.

Returns:

the SenderUsernameProperties object itself.

withUsername

public SenderUsernameProperties withUsername(String username)

Set the username property: A sender senderUsername to be used when sending emails.

Parameters:

username - the username value to set.

Returns:

the SenderUsernameProperties object itself.

Applies to

Azure SDK for Java

Preview