Class ResourceAuthorization
- java.lang.Object
-
- com.azure.messaging.eventgrid.systemevents.ResourceAuthorization
-
public final class ResourceAuthorization extends Object
The details of the authorization for the resource.
-
-
Constructor Summary
Constructors Constructor Description ResourceAuthorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Get the action property: The action being requested.Map<String,String>
getEvidence()
Get the evidence property: The evidence for the authorization.String
getScope()
Get the scope property: The scope of the authorization.ResourceAuthorization
setAction(String action)
Set the action property: The action being requested.ResourceAuthorization
setEvidence(Map<String,String> evidence)
Set the evidence property: The evidence for the authorization.ResourceAuthorization
setScope(String scope)
Set the scope property: The scope of the authorization.
-
-
-
Method Detail
-
getScope
public String getScope()
Get the scope property: The scope of the authorization.- Returns:
- the scope value.
-
setScope
public ResourceAuthorization setScope(String scope)
Set the scope property: The scope of the authorization.- Parameters:
scope
- the scope value to set.- Returns:
- the ResourceAuthorization object itself.
-
getAction
public String getAction()
Get the action property: The action being requested.- Returns:
- the action value.
-
setAction
public ResourceAuthorization setAction(String action)
Set the action property: The action being requested.- Parameters:
action
- the action value to set.- Returns:
- the ResourceAuthorization object itself.
-
getEvidence
public Map<String,String> getEvidence()
Get the evidence property: The evidence for the authorization.- Returns:
- the evidence value.
-
setEvidence
public ResourceAuthorization setEvidence(Map<String,String> evidence)
Set the evidence property: The evidence for the authorization.- Parameters:
evidence
- the evidence value to set.- Returns:
- the ResourceAuthorization object itself.
-
-