@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()
A CloudFormation stack or set of tags.
|
List<ScalingInstruction> |
getScalingInstructions()
The scaling instructions.
|
String |
getScalingPlanName()
The name of the scaling plan.
|
int |
hashCode() |
void |
setApplicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags.
|
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.
|
CreateScalingPlanRequest |
withApplicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags.
|
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. Names cannot contain vertical bars, colons, or forward slashes.
scalingPlanName
- The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.public String getScalingPlanName()
The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
public CreateScalingPlanRequest withScalingPlanName(String scalingPlanName)
The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.
scalingPlanName
- The name of the scaling plan. Names cannot contain vertical bars, colons, or forward slashes.public void setApplicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
applicationSource
- A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
public ApplicationSource getApplicationSource()
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
public CreateScalingPlanRequest withApplicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
applicationSource
- A CloudFormation stack or set of tags. You can create one scaling plan per application source.
For more information, see ApplicationSource in the AWS Auto Scaling API Reference.
public List<ScalingInstruction> getScalingInstructions()
The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
public void setScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
scalingInstructions
- The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
public CreateScalingPlanRequest withScalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
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.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
public CreateScalingPlanRequest withScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
scalingInstructions
- The scaling instructions.
For more information, see ScalingInstruction in the AWS Auto Scaling API Reference.
public String toString()
toString
in class Object
Object.toString()
public CreateScalingPlanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()