Class RoleSinkInfo

java.lang.Object
com.azure.resourcemanager.databoxedge.models.RoleSinkInfo

public final class RoleSinkInfo extends Object
Compute role against which events will be raised.
  • Constructor Details

    • RoleSinkInfo

      public RoleSinkInfo()
      Creates an instance of RoleSinkInfo class.
  • Method Details

    • roleId

      public String roleId()
      Get the roleId property: Compute role ID.
      Returns:
      the roleId value.
    • withRoleId

      public RoleSinkInfo withRoleId(String roleId)
      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.