AuthorizationRuleInner Class

public final class AuthorizationRuleInner
extends ProxyResource

Single item in a List or Get AuthorizationRule operation.

Constructor Summary

Constructor Description
AuthorizationRuleInner()

Method Summary

Modifier and Type Method and Description
String location()

Get the location property: The geo-location where the resource lives.

List<AccessRights> rights()

Get the rights property: The rights associated with the rule.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

void validate()

Validates the instance.

AuthorizationRuleInner withRights(List<AccessRights> rights)

Set the rights property: The rights associated with the rule.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AuthorizationRuleInner

public AuthorizationRuleInner()

Method Details

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

rights

public List rights()

Get the rights property: The rights associated with the rule.

Returns:

the rights value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

withRights

public AuthorizationRuleInner withRights(List rights)

Set the rights property: The rights associated with the rule.

Parameters:

rights - the rights value to set.

Returns:

the AuthorizationRuleInner object itself.

Applies to