Class EnableRequest


  • public final class EnableRequest
    extends Object
    Describes a receiver that should be resubscribed.
    • Constructor Detail

      • EnableRequest

        public EnableRequest()
    • Method Detail

      • receiverName

        public String receiverName()
        Get the receiverName property: The name of the receiver to resubscribe.
        Returns:
        the receiverName value.
      • withReceiverName

        public EnableRequest withReceiverName​(String receiverName)
        Set the receiverName property: The name of the receiver to resubscribe.
        Parameters:
        receiverName - the receiverName value to set.
        Returns:
        the EnableRequest object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.