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 .
| 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, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic 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 ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.