Class EmailChannel
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.Channel
-
- com.azure.resourcemanager.botservice.models.EmailChannel
-
public final class EmailChannel extends Channel
Email channel definition.
-
-
Constructor Summary
Constructors Constructor Description EmailChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmailChannelProperties
properties()
Get the properties property: The set of properties specific to email channel resource.void
validate()
Validates the instance.EmailChannel
withEtag(String etag)
Set the etag property: Entity Tag of the resource.EmailChannel
withLocation(String location)
Set the location property: Specifies the location of the resource.EmailChannel
withProperties(EmailChannelProperties properties)
Set the properties property: The set of properties specific to email channel resource.-
Methods inherited from class com.azure.resourcemanager.botservice.models.Channel
etag, location, provisioningState
-
-
-
-
Method Detail
-
properties
public EmailChannelProperties properties()
Get the properties property: The set of properties specific to email channel resource.- Returns:
- the properties value.
-
withProperties
public EmailChannel withProperties(EmailChannelProperties properties)
Set the properties property: The set of properties specific to email channel resource.- Parameters:
properties
- the properties value to set.- Returns:
- the EmailChannel object itself.
-
withEtag
public EmailChannel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
-
withLocation
public EmailChannel withLocation(String location)
Set the location property: Specifies the location of the resource.- Overrides:
withLocation
in classChannel
- Parameters:
location
- the location value to set.- Returns:
- the Channel object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classChannel
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-