Class ScheduledUpdateGroupAction

java.lang.Object
com.amazonaws.services.autoscaling.model.ScheduledUpdateGroupAction
All Implemented Interfaces:
Serializable, Cloneable

public class ScheduledUpdateGroupAction extends Object implements Serializable, Cloneable

Describes a scheduled update to an Auto Scaling group.

See Also:
  • Constructor Details

    • ScheduledUpdateGroupAction

      public ScheduledUpdateGroupAction()
  • Method Details

    • setAutoScalingGroupName

      public void setAutoScalingGroupName(String autoScalingGroupName)

      The name of the group.

      Parameters:
      autoScalingGroupName - The name of the group.
    • getAutoScalingGroupName

      public String getAutoScalingGroupName()

      The name of the group.

      Returns:
      The name of the group.
    • withAutoScalingGroupName

      public ScheduledUpdateGroupAction withAutoScalingGroupName(String autoScalingGroupName)

      The name of the group.

      Parameters:
      autoScalingGroupName - The name of the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setScheduledActionName

      public void setScheduledActionName(String scheduledActionName)

      The name of the scheduled action.

      Parameters:
      scheduledActionName - The name of the scheduled action.
    • getScheduledActionName

      public String getScheduledActionName()

      The name of the scheduled action.

      Returns:
      The name of the scheduled action.
    • withScheduledActionName

      public ScheduledUpdateGroupAction withScheduledActionName(String scheduledActionName)

      The name of the scheduled action.

      Parameters:
      scheduledActionName - The name of the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setScheduledActionARN

      public void setScheduledActionARN(String scheduledActionARN)

      The Amazon Resource Name (ARN) of the scheduled action.

      Parameters:
      scheduledActionARN - The Amazon Resource Name (ARN) of the scheduled action.
    • getScheduledActionARN

      public String getScheduledActionARN()

      The Amazon Resource Name (ARN) of the scheduled action.

      Returns:
      The Amazon Resource Name (ARN) of the scheduled action.
    • withScheduledActionARN

      public ScheduledUpdateGroupAction withScheduledActionARN(String scheduledActionARN)

      The Amazon Resource Name (ARN) of the scheduled action.

      Parameters:
      scheduledActionARN - The Amazon Resource Name (ARN) of the scheduled action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTime

      public void setTime(Date time)

      This parameter is deprecated.

      Parameters:
      time - This parameter is deprecated.
    • getTime

      public Date getTime()

      This parameter is deprecated.

      Returns:
      This parameter is deprecated.
    • withTime

      public ScheduledUpdateGroupAction withTime(Date time)

      This parameter is deprecated.

      Parameters:
      time - This parameter is deprecated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setStartTime

      public void setStartTime(Date startTime)

      The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

      Parameters:
      startTime - The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

    • getStartTime

      public Date getStartTime()

      The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

      Returns:
      The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

    • withStartTime

      public ScheduledUpdateGroupAction withStartTime(Date startTime)

      The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

      Parameters:
      startTime - The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

      When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndTime

      public void setEndTime(Date endTime)

      The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

      Parameters:
      endTime - The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
    • getEndTime

      public Date getEndTime()

      The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

      Returns:
      The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
    • withEndTime

      public ScheduledUpdateGroupAction withEndTime(Date endTime)

      The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

      Parameters:
      endTime - The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRecurrence

      public void setRecurrence(String recurrence)

      The recurring schedule for the action.

      Parameters:
      recurrence - The recurring schedule for the action.
    • getRecurrence

      public String getRecurrence()

      The recurring schedule for the action.

      Returns:
      The recurring schedule for the action.
    • withRecurrence

      public ScheduledUpdateGroupAction withRecurrence(String recurrence)

      The recurring schedule for the action.

      Parameters:
      recurrence - The recurring schedule for the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMinSize

      public void setMinSize(Integer minSize)

      The minimum size of the group.

      Parameters:
      minSize - The minimum size of the group.
    • getMinSize

      public Integer getMinSize()

      The minimum size of the group.

      Returns:
      The minimum size of the group.
    • withMinSize

      public ScheduledUpdateGroupAction withMinSize(Integer minSize)

      The minimum size of the group.

      Parameters:
      minSize - The minimum size of the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxSize

      public void setMaxSize(Integer maxSize)

      The maximum size of the group.

      Parameters:
      maxSize - The maximum size of the group.
    • getMaxSize

      public Integer getMaxSize()

      The maximum size of the group.

      Returns:
      The maximum size of the group.
    • withMaxSize

      public ScheduledUpdateGroupAction withMaxSize(Integer maxSize)

      The maximum size of the group.

      Parameters:
      maxSize - The maximum size of the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDesiredCapacity

      public void setDesiredCapacity(Integer desiredCapacity)

      The number of instances you prefer to maintain in the group.

      Parameters:
      desiredCapacity - The number of instances you prefer to maintain in the group.
    • getDesiredCapacity

      public Integer getDesiredCapacity()

      The number of instances you prefer to maintain in the group.

      Returns:
      The number of instances you prefer to maintain in the group.
    • withDesiredCapacity

      public ScheduledUpdateGroupAction withDesiredCapacity(Integer desiredCapacity)

      The number of instances you prefer to maintain in the group.

      Parameters:
      desiredCapacity - The number of instances you prefer to maintain in the group.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object