public class SharedAccessAuthorizationRuleCreateOrUpdateParameters extends Object
| Constructor and Description |
|---|
SharedAccessAuthorizationRuleCreateOrUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
String |
location()
Get the location property: data center location.
|
String |
name()
Get the name property: Name of the authorization rule.
|
List<AccessRights> |
rights()
Get the rights property: The rights associated with the rule.
|
void |
validate()
Validates the instance.
|
SharedAccessAuthorizationRuleCreateOrUpdateParameters |
withLocation(String location)
Set the location property: data center location.
|
SharedAccessAuthorizationRuleCreateOrUpdateParameters |
withName(String name)
Set the name property: Name of the authorization rule.
|
SharedAccessAuthorizationRuleCreateOrUpdateParameters |
withRights(List<AccessRights> rights)
Set the rights property: The rights associated with the rule.
|
public SharedAccessAuthorizationRuleCreateOrUpdateParameters()
public String location()
public SharedAccessAuthorizationRuleCreateOrUpdateParameters withLocation(String location)
location - the location value to set.public String name()
public SharedAccessAuthorizationRuleCreateOrUpdateParameters withName(String name)
name - the name value to set.public List<AccessRights> rights()
public SharedAccessAuthorizationRuleCreateOrUpdateParameters withRights(List<AccessRights> rights)
rights - the rights value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.