Class Channel
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.Channel
-
- Direct Known Subclasses:
AlexaChannel
,DirectLineChannel
,DirectLineSpeechChannel
,EmailChannel
,FacebookChannel
,KikChannel
,LineChannel
,MsTeamsChannel
,SkypeChannel
,SlackChannel
,SmsChannel
,TelegramChannel
,WebChatChannel
public class Channel extends Object
Channel definition.
-
-
Constructor Summary
Constructors Constructor Description Channel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: Entity Tag of the resource.String
location()
Get the location property: Specifies the location of the resource.String
provisioningState()
Get the provisioningState property: Provisioning state of the resource.void
validate()
Validates the instance.Channel
withEtag(String etag)
Set the etag property: Entity Tag of the resource.Channel
withLocation(String location)
Set the location property: Specifies the location of the resource.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: Entity Tag of the resource.- Returns:
- the etag value.
-
withEtag
public Channel withEtag(String etag)
Set the etag property: Entity Tag of the resource.- Parameters:
etag
- the etag value to set.- Returns:
- the Channel object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
location
public String location()
Get the location property: Specifies the location of the resource.- Returns:
- the location value.
-
withLocation
public Channel withLocation(String location)
Set the location property: Specifies the location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the Channel object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-