public class SuspendProcessesRequest extends AmazonWebServiceRequest implements java.io.Serializable
SuspendProcesses operation.
Suspends Auto Scaling processes for an Auto Scaling group. To suspend specific process types, specify them by name with the
ScalingProcesses.member.N parameter. To suspend all process types, omit the ScalingProcesses.member.N parameter.
IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly. For more information about processes and their dependencies, see ProcessType.
To resume processes that have been suspended, use ResumeProcesses.
| コンストラクタと説明 |
|---|
SuspendProcessesRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
java.util.List<java.lang.String> |
getScalingProcesses()
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer To suspend all process types,
omit this parameter.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer To suspend all process types,
omit this parameter.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuspendProcessesRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
SuspendProcessesRequest |
withScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer To suspend all process types,
omit this parameter.
|
SuspendProcessesRequest |
withScalingProcesses(java.lang.String... scalingProcesses)
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer To suspend all process types,
omit this parameter.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the Auto Scaling group.public SuspendProcessesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the Auto Scaling group.public java.util.List<java.lang.String> getScalingProcesses()
To suspend all process types, omit this parameter.
To suspend all process types, omit this parameter.
public void setScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
To suspend all process types, omit this parameter.
scalingProcesses - The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public SuspendProcessesRequest withScalingProcesses(java.lang.String... scalingProcesses)
To suspend all process types, omit this parameter.
Returns a reference to this object so that method calls can be chained together.
scalingProcesses - The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public SuspendProcessesRequest withScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
To suspend all process types, omit this parameter.
Returns a reference to this object so that method calls can be chained together.
scalingProcesses - The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object