|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.SetTimeBasedAutoScalingRequest
public class SetTimeBasedAutoScalingRequest
Container for the parameters to the 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 .
AWSOpsWorks.setTimeBasedAutoScaling(SetTimeBasedAutoScalingRequest)
,
Serialized FormConstructor Summary | |
---|---|
SetTimeBasedAutoScalingRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetTimeBasedAutoScalingRequest()
Method Detail |
---|
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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |