@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetTimeBasedAutoScalingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetTimeBasedAutoScalingRequest() |
Modifier and Type | Method and Description |
---|---|
SetTimeBasedAutoScalingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
SetTimeBasedAutoScalingRequest |
withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
An
AutoScalingSchedule with the instance schedule. |
SetTimeBasedAutoScalingRequest |
withInstanceId(String instanceId)
The instance ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public String getInstanceId()
The instance ID.
public SetTimeBasedAutoScalingRequest withInstanceId(String instanceId)
The instance ID.
instanceId
- The instance ID.public void setAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
An AutoScalingSchedule
with the instance schedule.
autoScalingSchedule
- An AutoScalingSchedule
with the instance schedule.public WeeklyAutoScalingSchedule getAutoScalingSchedule()
An AutoScalingSchedule
with the instance schedule.
AutoScalingSchedule
with the instance schedule.public SetTimeBasedAutoScalingRequest withAutoScalingSchedule(WeeklyAutoScalingSchedule autoScalingSchedule)
An AutoScalingSchedule
with the instance schedule.
autoScalingSchedule
- An AutoScalingSchedule
with the instance schedule.public String toString()
toString
in class Object
Object.toString()
public SetTimeBasedAutoScalingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()