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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeScheduledActionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeScheduledActionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAutoScalingGroupName()The name of the group.DategetEndTime()The latest scheduled start time to return.IntegergetMaxRecords()The maximum number of items to return with this call.StringgetNextToken()The token for the next set of items to return.List<String>getScheduledActionNames()Describes one or more scheduled actions.DategetStartTime()The earliest scheduled start time to return.inthashCode()voidsetAutoScalingGroupName(String autoScalingGroupName)The name of the group.voidsetEndTime(Date endTime)The latest scheduled start time to return.voidsetMaxRecords(Integer maxRecords)The maximum number of items to return with this call.voidsetNextToken(String nextToken)The token for the next set of items to return.voidsetScheduledActionNames(Collection<String> scheduledActionNames)Describes one or more scheduled actions.voidsetStartTime(Date startTime)The earliest scheduled start time to return.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeScheduledActionsRequestwithAutoScalingGroupName(String autoScalingGroupName)The name of the group.DescribeScheduledActionsRequestwithEndTime(Date endTime)The latest scheduled start time to return.DescribeScheduledActionsRequestwithMaxRecords(Integer maxRecords)The maximum number of items to return with this call.DescribeScheduledActionsRequestwithNextToken(String nextToken)The token for the next set of items to return.DescribeScheduledActionsRequestwithScheduledActionNames(String... scheduledActionNames)Describes one or more scheduled actions.DescribeScheduledActionsRequestwithScheduledActionNames(Collection<String> scheduledActionNames)Describes one or more scheduled actions.DescribeScheduledActionsRequestwithStartTime(Date startTime)The earliest scheduled start time to return.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
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)orwithScheduledActionNames(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeScheduledActionsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-