Interface ReceiverCreateBuilder

    • Method Detail

      • action

        ReceiverCreateBuilder action​(String action)
        Add the action to initiate when the receiver is triggered. A valid value should be the name of an action that can be applied on a cluster.
        Parameters:
        action - The action to initiate.
        Returns:
        ReceiverCreateBuilder
      • clusterID

        ReceiverCreateBuilder clusterID​(String clusterID)
        Add the name, ID, or short ID of the object targeted by the receiver
        Parameters:
        clusterID - The Name, ID, or short ID of the object targeted by the receiver
        Returns:
        ReceiverCreateBuilder
      • name

        ReceiverCreateBuilder name​(String name)
        Add the name for the receiver
        Parameters:
        name - The name for the receiver
        Returns:
        ReceiverCreateBuilder
      • type

        ReceiverCreateBuilder type​(String type)
        Add the type of the receiver where the only valid value is webhook currently
        Parameters:
        type - The type of the receiver
        Returns:
        ReceiverCreateBuilder
      • params

        ReceiverCreateBuilder params​(Map<String,​String> params)
        Add the map of key and value pairs to use for action creation. Some actions might require certain input parameters
        Parameters:
        params - A map of key and value pairs to use for action creation.
        Returns:
        ReceiverCreateBuilder