public class SetTimeBasedAutoScalingRequest extends AmazonWebServiceRequest implements Serializable
SetTimeBasedAutoScaling operation
.
Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances .
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
SetTimeBasedAutoScalingRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
WeeklyAutoScalingSchedule |
getAutoScalingSchedule()
An
AutoScalingSchedule with the instance schedule. |
String |
getInstanceId()
The instance ID.
|
int |
hashCode() |
void |
setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
An
AutoScalingSchedule with the instance schedule. |
void |
setInstanceId(String instanceId)
The instance ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetTimeBasedAutoScalingRequest |
withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
An
AutoScalingSchedule with the instance schedule. |
SetTimeBasedAutoScalingRequest |
withInstanceId(String instanceId)
The instance ID.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public SetTimeBasedAutoScalingRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.public WeeklyAutoScalingSchedule getAutoScalingSchedule()
AutoScalingSchedule
with the instance schedule.AutoScalingSchedule
with the instance schedule.public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
AutoScalingSchedule
with the instance schedule.autoScalingSchedule
- An AutoScalingSchedule
with the instance schedule.public SetTimeBasedAutoScalingRequest withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
AutoScalingSchedule
with the instance schedule.
Returns a reference to this object so that method calls can be chained together.
autoScalingSchedule
- An AutoScalingSchedule
with the instance schedule.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.