Class DescribeScheduledActionsRequest

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

public class DescribeScheduledActionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeScheduledActionsRequest

      public DescribeScheduledActionsRequest()
  • 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 DescribeScheduledActionsRequest 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.
    • getScheduledActionNames

      public List<String> getScheduledActionNames()

      Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

      Returns:
      Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

    • setScheduledActionNames

      public void setScheduledActionNames(Collection<String> scheduledActionNames)

      Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

      Parameters:
      scheduledActionNames - Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

    • withScheduledActionNames

      public DescribeScheduledActionsRequest withScheduledActionNames(String... scheduledActionNames)

      Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

      NOTE: This method appends the values to the existing list (if any). Use setScheduledActionNames(java.util.Collection) or withScheduledActionNames(java.util.Collection) if you want to override the existing values.

      Parameters:
      scheduledActionNames - Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

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

      public DescribeScheduledActionsRequest withScheduledActionNames(Collection<String> scheduledActionNames)

      Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

      Parameters:
      scheduledActionNames - Describes one or more scheduled actions. If you omit this list, the call describes all scheduled actions. If you specify an unknown scheduled action it is ignored with no error.

      You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

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

      public void setStartTime(Date startTime)

      The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Parameters:
      startTime - The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
    • getStartTime

      public Date getStartTime()

      The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Returns:
      The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
    • withStartTime

      public DescribeScheduledActionsRequest withStartTime(Date startTime)

      The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Parameters:
      startTime - The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEndTime

      public void setEndTime(Date endTime)

      The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Parameters:
      endTime - The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
    • getEndTime

      public Date getEndTime()

      The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Returns:
      The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
    • withEndTime

      public DescribeScheduledActionsRequest withEndTime(Date endTime)

      The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

      Parameters:
      endTime - The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      The token for the next set of items to return. (You received this token from a previous call.)

      Parameters:
      nextToken - The token for the next set of items to return. (You received this token from a previous call.)
    • getNextToken

      public String getNextToken()

      The token for the next set of items to return. (You received this token from a previous call.)

      Returns:
      The token for the next set of items to return. (You received this token from a previous call.)
    • withNextToken

      public DescribeScheduledActionsRequest withNextToken(String nextToken)

      The token for the next set of items to return. (You received this token from a previous call.)

      Parameters:
      nextToken - The token for the next set of items to return. (You received this token from a previous call.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMaxRecords

      public void setMaxRecords(Integer maxRecords)

      The maximum number of items to return with this call.

      Parameters:
      maxRecords - The maximum number of items to return with this call.
    • getMaxRecords

      public Integer getMaxRecords()

      The maximum number of items to return with this call.

      Returns:
      The maximum number of items to return with this call.
    • withMaxRecords

      public DescribeScheduledActionsRequest withMaxRecords(Integer maxRecords)

      The maximum number of items to return with this call.

      Parameters:
      maxRecords - The maximum number of items to return with this call.
      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

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: