public final class PolicyAssignmentUpdate extends Object
| Constructor and Description |
|---|
PolicyAssignmentUpdate() |
| Modifier and Type | Method and Description |
|---|---|
Identity |
identity()
Get the identity property: The managed identity associated with the policy assignment.
|
String |
location()
Get the location property: The location of the policy assignment.
|
void |
validate()
Validates the instance.
|
PolicyAssignmentUpdate |
withIdentity(Identity identity)
Set the identity property: The managed identity associated with the policy assignment.
|
PolicyAssignmentUpdate |
withLocation(String location)
Set the location property: The location of the policy assignment.
|
public String location()
public PolicyAssignmentUpdate withLocation(String location)
location - the location value to set.public Identity identity()
public PolicyAssignmentUpdate withIdentity(Identity identity)
identity - the identity value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.