RoleSinkInfo Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. RoleSinkInfo
- com.
Implements
public final class RoleSinkInfo
implements JsonSerializable<RoleSinkInfo>
Compute role against which events will be raised.
Constructor Summary
| Constructor | Description |
|---|---|
| RoleSinkInfo() |
Creates an instance of Role |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
| String |
roleId()
Get the role |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Role |
withRoleId(String roleId)
Set the role |
Methods inherited from java.lang.Object
Constructor Details
RoleSinkInfo
public RoleSinkInfo()
Creates an instance of RoleSinkInfo class.
Method Details
fromJson
public static RoleSinkInfo fromJson(JsonReader jsonReader)
Reads an instance of RoleSinkInfo from the JsonReader.
Parameters:
Returns:
Throws:
roleId
public String roleId()
Get the roleId property: Compute role ID.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRoleId
public RoleSinkInfo withRoleId(String roleId)
Set the roleId property: Compute role ID.
Parameters:
Returns: