public final class SenderAuthorization extends Object
| Constructor and Description |
|---|
SenderAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
Get the action property: the permissible actions.
|
String |
role()
Get the role property: the role of the user.
|
String |
scope()
Get the scope property: the scope.
|
void |
validate()
Validates the instance.
|
SenderAuthorization |
withAction(String action)
Set the action property: the permissible actions.
|
SenderAuthorization |
withRole(String role)
Set the role property: the role of the user.
|
SenderAuthorization |
withScope(String scope)
Set the scope property: the scope.
|
public String action()
public SenderAuthorization withAction(String action)
action - the action value to set.public String role()
public SenderAuthorization withRole(String role)
role - the role value to set.public String scope()
public SenderAuthorization withScope(String scope)
scope - the scope value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.