Class ItsmReceiver


  • public final class ItsmReceiver
    extends Object
    An Itsm receiver.
    • Constructor Detail

      • ItsmReceiver

        public ItsmReceiver()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the Itsm receiver. Names must be unique across all receivers within an action group.
        Returns:
        the name value.
      • withName

        public ItsmReceiver withName​(String name)
        Set the name property: The name of the Itsm receiver. Names must be unique across all receivers within an action group.
        Parameters:
        name - the name value to set.
        Returns:
        the ItsmReceiver object itself.
      • workspaceId

        public String workspaceId()
        Get the workspaceId property: OMS LA instance identifier.
        Returns:
        the workspaceId value.
      • withWorkspaceId

        public ItsmReceiver withWorkspaceId​(String workspaceId)
        Set the workspaceId property: OMS LA instance identifier.
        Parameters:
        workspaceId - the workspaceId value to set.
        Returns:
        the ItsmReceiver object itself.
      • connectionId

        public String connectionId()
        Get the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.
        Returns:
        the connectionId value.
      • withConnectionId

        public ItsmReceiver withConnectionId​(String connectionId)
        Set the connectionId property: Unique identification of ITSM connection among multiple defined in above workspace.
        Parameters:
        connectionId - the connectionId value to set.
        Returns:
        the ItsmReceiver object itself.
      • ticketConfiguration

        public String ticketConfiguration()
        Get the ticketConfiguration property: JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
        Returns:
        the ticketConfiguration value.
      • withTicketConfiguration

        public ItsmReceiver withTicketConfiguration​(String ticketConfiguration)
        Set the ticketConfiguration property: JSON blob for the configurations of the ITSM action. CreateMultipleWorkItems option will be part of this blob as well.
        Parameters:
        ticketConfiguration - the ticketConfiguration value to set.
        Returns:
        the ItsmReceiver object itself.
      • region

        public String region()
        Get the region property: Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'.
        Returns:
        the region value.
      • withRegion

        public ItsmReceiver withRegion​(String region)
        Set the region property: Region in which workspace resides. Supported values:'centralindia','japaneast','southeastasia','australiasoutheast','uksouth','westcentralus','canadacentral','eastus','westeurope'.
        Parameters:
        region - the region value to set.
        Returns:
        the ItsmReceiver object itself.
      • validate

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