@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScalingPlanRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateScalingPlanRequest() |
Modifier and Type | Method and Description |
---|---|
CreateScalingPlanRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ApplicationSource |
getApplicationSource()
The source for the application.
|
List<ScalingInstruction> |
getScalingInstructions()
The scaling instructions.
|
String |
getScalingPlanName()
The name of the scaling plan.
|
int |
hashCode() |
void |
setApplicationSource(ApplicationSource applicationSource)
The source for the application.
|
void |
setScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
|
void |
setScalingPlanName(String scalingPlanName)
The name of the scaling plan.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateScalingPlanRequest |
withApplicationSource(ApplicationSource applicationSource)
The source for the application.
|
CreateScalingPlanRequest |
withScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
|
CreateScalingPlanRequest |
withScalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
|
CreateScalingPlanRequest |
withScalingPlanName(String scalingPlanName)
The name of the scaling plan.
|
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 setScalingPlanName(String scalingPlanName)
The name of the scaling plan.
scalingPlanName
- The name of the scaling plan.public String getScalingPlanName()
The name of the scaling plan.
public CreateScalingPlanRequest withScalingPlanName(String scalingPlanName)
The name of the scaling plan.
scalingPlanName
- The name of the scaling plan.public void setApplicationSource(ApplicationSource applicationSource)
The source for the application.
applicationSource
- The source for the application.public ApplicationSource getApplicationSource()
The source for the application.
public CreateScalingPlanRequest withApplicationSource(ApplicationSource applicationSource)
The source for the application.
applicationSource
- The source for the application.public List<ScalingInstruction> getScalingInstructions()
The scaling instructions.
public void setScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.public CreateScalingPlanRequest withScalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
NOTE: This method appends the values to the existing list (if any). Use
setScalingInstructions(java.util.Collection)
or withScalingInstructions(java.util.Collection)
if you want to override the existing values.
scalingInstructions
- The scaling instructions.public CreateScalingPlanRequest withScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.public String toString()
toString
in class Object
Object.toString()
public CreateScalingPlanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.