@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() |
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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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.
applicationSource - A CloudFormation stack or set of tags. You can create one scaling plan per application source.public ApplicationSource getApplicationSource()
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
public CreateScalingPlanRequest withApplicationSource(ApplicationSource applicationSource)
A CloudFormation stack or set of tags. You can create one scaling plan per application source.
applicationSource - A CloudFormation stack or set of tags. You can create one scaling plan per application source.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 ObjectObject.toString()public CreateScalingPlanRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.