EnvironmentRole Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. EnvironmentRole
- com.
Implements
public final class EnvironmentRole
implements JsonSerializable<EnvironmentRole>
A role that can be assigned to a user.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentRole() |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: This is a description of the Role Assignment. |
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
| String |
roleName()
Get the role |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentRole
public EnvironmentRole()
Creates an instance of EnvironmentRole class.
Method Details
description
public String description()
Get the description property: This is a description of the Role Assignment.
Returns:
fromJson
public static EnvironmentRole fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentRole from the JsonReader.
Parameters:
Returns:
Throws:
roleName
public String roleName()
Get the roleName property: The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'.
Returns:
toJson
validate
public void validate()
Validates the instance.