Class RoleSinkInfo
java.lang.Object
com.azure.resourcemanager.databoxedge.models.RoleSinkInfo
Compute role against which events will be raised.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionroleId()
Get the roleId property: Compute role ID.void
validate()
Validates the instance.withRoleId
(String roleId) Set the roleId property: Compute role ID.
-
Constructor Details
-
RoleSinkInfo
public RoleSinkInfo()Creates an instance of RoleSinkInfo class.
-
-
Method Details
-
roleId
Get the roleId property: Compute role ID.- Returns:
- the roleId value.
-
withRoleId
Set the roleId property: Compute role ID.- Parameters:
roleId
- the roleId value to set.- Returns:
- the RoleSinkInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-