Class SuspendProcessesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.autoscaling.model.SuspendProcessesRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class SuspendProcessesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SuspendProcessesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuspendProcessesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAutoScalingGroupName()The name or Amazon Resource Name (ARN) of the Auto Scaling group.List<String>getScalingProcesses()One or more of the following processes:inthashCode()voidsetAutoScalingGroupName(String autoScalingGroupName)The name or Amazon Resource Name (ARN) of the Auto Scaling group.voidsetScalingProcesses(Collection<String> scalingProcesses)One or more of the following processes:StringtoString()Returns a string representation of this object; useful for testing and debugging.SuspendProcessesRequestwithAutoScalingGroupName(String autoScalingGroupName)The name or Amazon Resource Name (ARN) of the Auto Scaling group.SuspendProcessesRequestwithScalingProcesses(String... scalingProcesses)One or more of the following processes:SuspendProcessesRequestwithScalingProcesses(Collection<String> scalingProcesses)One or more of the following processes:-
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 or Amazon Resource Name (ARN) of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
-
getAutoScalingGroupName
public String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
- Returns:
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
-
withAutoScalingGroupName
public SuspendProcessesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name or Amazon Resource Name (ARN) of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getScalingProcesses
public List<String> getScalingProcesses()
One or more of the following processes:
-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
- Returns:
- One or more of the following processes:
-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
-
-
-
setScalingProcesses
public void setScalingProcesses(Collection<String> scalingProcesses)
One or more of the following processes:
-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
- Parameters:
scalingProcesses- One or more of the following processes:-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
-
-
-
withScalingProcesses
public SuspendProcessesRequest withScalingProcesses(String... scalingProcesses)
One or more of the following processes:
-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
NOTE: This method appends the values to the existing list (if any). Use
setScalingProcesses(java.util.Collection)orwithScalingProcesses(java.util.Collection)if you want to override the existing values.- Parameters:
scalingProcesses- One or more of the following processes:-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withScalingProcesses
public SuspendProcessesRequest withScalingProcesses(Collection<String> scalingProcesses)
One or more of the following processes:
-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
- Parameters:
scalingProcesses- One or more of the following processes:-
Launch -
Terminate -
HealthCheck -
ReplaceUnhealthy -
AZRebalance -
AlarmNotification -
ScheduledActions -
AddToLoadBalancer
-
- 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 SuspendProcessesRequest 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()
-
-