Class ManagedAction

    • Constructor Detail

      • ManagedAction

        public ManagedAction()
    • Method Detail

      • setActionId

        public void setActionId​(String actionId)

        A unique identifier for the managed action.

        Parameters:
        actionId - A unique identifier for the managed action.
      • getActionId

        public String getActionId()

        A unique identifier for the managed action.

        Returns:
        A unique identifier for the managed action.
      • withActionId

        public ManagedAction withActionId​(String actionId)

        A unique identifier for the managed action.

        Parameters:
        actionId - A unique identifier for the managed action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setActionDescription

        public void setActionDescription​(String actionDescription)

        A description of the managed action.

        Parameters:
        actionDescription - A description of the managed action.
      • getActionDescription

        public String getActionDescription()

        A description of the managed action.

        Returns:
        A description of the managed action.
      • withActionDescription

        public ManagedAction withActionDescription​(String actionDescription)

        A description of the managed action.

        Parameters:
        actionDescription - A description of the managed action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setActionType

        public void setActionType​(String actionType)

        The type of managed action.

        Parameters:
        actionType - The type of managed action.
        See Also:
        ActionType
      • getActionType

        public String getActionType()

        The type of managed action.

        Returns:
        The type of managed action.
        See Also:
        ActionType
      • withActionType

        public ManagedAction withActionType​(String actionType)

        The type of managed action.

        Parameters:
        actionType - The type of managed action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionType
      • setActionType

        public void setActionType​(ActionType actionType)

        The type of managed action.

        Parameters:
        actionType - The type of managed action.
        See Also:
        ActionType
      • withActionType

        public ManagedAction withActionType​(ActionType actionType)

        The type of managed action.

        Parameters:
        actionType - The type of managed action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionType
      • withStatus

        public ManagedAction withStatus​(String status)

        The status of the managed action. If the action is Scheduled , you can apply it immediately with ApplyEnvironmentManagedAction.

        Parameters:
        status - The status of the managed action. If the action is Scheduled, you can apply it immediately with ApplyEnvironmentManagedAction.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ActionStatus
      • setWindowStartTime

        public void setWindowStartTime​(Date windowStartTime)

        The start time of the maintenance window in which the managed action will execute.

        Parameters:
        windowStartTime - The start time of the maintenance window in which the managed action will execute.
      • getWindowStartTime

        public Date getWindowStartTime()

        The start time of the maintenance window in which the managed action will execute.

        Returns:
        The start time of the maintenance window in which the managed action will execute.
      • withWindowStartTime

        public ManagedAction withWindowStartTime​(Date windowStartTime)

        The start time of the maintenance window in which the managed action will execute.

        Parameters:
        windowStartTime - The start time of the maintenance window in which the managed action will execute.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object