Class AutomationRuleProperties


  • public final class AutomationRuleProperties
    extends Object
    Automation rule properties.
    • Constructor Detail

      • AutomationRuleProperties

        public AutomationRuleProperties()
    • Method Detail

      • displayName

        public String displayName()
        Get the displayName property: The display name of the automation rule.
        Returns:
        the displayName value.
      • withDisplayName

        public AutomationRuleProperties withDisplayName​(String displayName)
        Set the displayName property: The display name of the automation rule.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the AutomationRuleProperties object itself.
      • order

        public int order()
        Get the order property: The order of execution of the automation rule.
        Returns:
        the order value.
      • withOrder

        public AutomationRuleProperties withOrder​(int order)
        Set the order property: The order of execution of the automation rule.
        Parameters:
        order - the order value to set.
        Returns:
        the AutomationRuleProperties object itself.
      • triggeringLogic

        public AutomationRuleTriggeringLogic triggeringLogic()
        Get the triggeringLogic property: Describes automation rule triggering logic.
        Returns:
        the triggeringLogic value.
      • withTriggeringLogic

        public AutomationRuleProperties withTriggeringLogic​(AutomationRuleTriggeringLogic triggeringLogic)
        Set the triggeringLogic property: Describes automation rule triggering logic.
        Parameters:
        triggeringLogic - the triggeringLogic value to set.
        Returns:
        the AutomationRuleProperties object itself.
      • actions

        public List<AutomationRuleAction> actions()
        Get the actions property: The actions to execute when the automation rule is triggered.
        Returns:
        the actions value.
      • withActions

        public AutomationRuleProperties withActions​(List<AutomationRuleAction> actions)
        Set the actions property: The actions to execute when the automation rule is triggered.
        Parameters:
        actions - the actions value to set.
        Returns:
        the AutomationRuleProperties object itself.
      • lastModifiedTimeUtc

        public OffsetDateTime lastModifiedTimeUtc()
        Get the lastModifiedTimeUtc property: The last time the automation rule was updated.
        Returns:
        the lastModifiedTimeUtc value.
      • createdTimeUtc

        public OffsetDateTime createdTimeUtc()
        Get the createdTimeUtc property: The time the automation rule was created.
        Returns:
        the createdTimeUtc value.
      • lastModifiedBy

        public ClientInfo lastModifiedBy()
        Get the lastModifiedBy property: Information on the client (user or application) that made some action.
        Returns:
        the lastModifiedBy value.
      • createdBy

        public ClientInfo createdBy()
        Get the createdBy property: Information on the client (user or application) that made some action.
        Returns:
        the createdBy value.
      • validate

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