@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingPlan extends Object implements Serializable, Cloneable, StructuredPojo
Represents a scaling plan.
Constructor and Description |
---|
ScalingPlan() |
Modifier and Type | Method and Description |
---|---|
ScalingPlan |
clone() |
boolean |
equals(Object obj) |
ApplicationSource |
getApplicationSource()
The application source.
|
Date |
getCreationTime()
The Unix timestamp when the scaling plan was created.
|
List<ScalingInstruction> |
getScalingInstructions()
The scaling instructions.
|
String |
getScalingPlanName()
The name of the scaling plan.
|
Long |
getScalingPlanVersion()
The version of the scaling plan.
|
String |
getStatusCode()
The status of the scaling plan.
|
String |
getStatusMessage()
A simple message about the current status of the scaling plan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationSource(ApplicationSource applicationSource)
The application source.
|
void |
setCreationTime(Date creationTime)
The Unix timestamp when the scaling plan was created.
|
void |
setScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
|
void |
setScalingPlanName(String scalingPlanName)
The name of the scaling plan.
|
void |
setScalingPlanVersion(Long scalingPlanVersion)
The version of the scaling plan.
|
void |
setStatusCode(String statusCode)
The status of the scaling plan.
|
void |
setStatusMessage(String statusMessage)
A simple message about the current status of the scaling plan.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ScalingPlan |
withApplicationSource(ApplicationSource applicationSource)
The application source.
|
ScalingPlan |
withCreationTime(Date creationTime)
The Unix timestamp when the scaling plan was created.
|
ScalingPlan |
withScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
|
ScalingPlan |
withScalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
|
ScalingPlan |
withScalingPlanName(String scalingPlanName)
The name of the scaling plan.
|
ScalingPlan |
withScalingPlanVersion(Long scalingPlanVersion)
The version of the scaling plan.
|
ScalingPlan |
withStatusCode(ScalingPlanStatusCode statusCode)
The status of the scaling plan.
|
ScalingPlan |
withStatusCode(String statusCode)
The status of the scaling plan.
|
ScalingPlan |
withStatusMessage(String statusMessage)
A simple message about the current status of the scaling plan.
|
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 ScalingPlan withScalingPlanName(String scalingPlanName)
The name of the scaling plan.
scalingPlanName
- The name of the scaling plan.public void setScalingPlanVersion(Long scalingPlanVersion)
The version of the scaling plan.
scalingPlanVersion
- The version of the scaling plan.public Long getScalingPlanVersion()
The version of the scaling plan.
public ScalingPlan withScalingPlanVersion(Long scalingPlanVersion)
The version of the scaling plan.
scalingPlanVersion
- The version of the scaling plan.public void setApplicationSource(ApplicationSource applicationSource)
The application source.
applicationSource
- The application source.public ApplicationSource getApplicationSource()
The application source.
public ScalingPlan withApplicationSource(ApplicationSource applicationSource)
The application source.
applicationSource
- The application source.public List<ScalingInstruction> getScalingInstructions()
The scaling instructions.
public void setScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.public ScalingPlan 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 ScalingPlan withScalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.public void setStatusCode(String statusCode)
The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or more
resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
statusCode
- The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or
more resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
ScalingPlanStatusCode
public String getStatusCode()
The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or more
resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or
more resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
ScalingPlanStatusCode
public ScalingPlan withStatusCode(String statusCode)
The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or more
resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
statusCode
- The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or
more resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
ScalingPlanStatusCode
public ScalingPlan withStatusCode(ScalingPlanStatusCode statusCode)
The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or more
resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
statusCode
- The status of the scaling plan.
Active
- The scaling plan is active.
ActiveWithProblems
- The scaling plan is active, but the scaling configuration for one or
more resources could not be applied.
CreationInProgress
- The scaling plan is being created.
CreationFailed
- The scaling plan could not be created.
DeletionInProgress
- The scaling plan is being deleted.
DeletionFailed
- The scaling plan could not be deleted.
ScalingPlanStatusCode
public void setStatusMessage(String statusMessage)
A simple message about the current status of the scaling plan.
statusMessage
- A simple message about the current status of the scaling plan.public String getStatusMessage()
A simple message about the current status of the scaling plan.
public ScalingPlan withStatusMessage(String statusMessage)
A simple message about the current status of the scaling plan.
statusMessage
- A simple message about the current status of the scaling plan.public void setCreationTime(Date creationTime)
The Unix timestamp when the scaling plan was created.
creationTime
- The Unix timestamp when the scaling plan was created.public Date getCreationTime()
The Unix timestamp when the scaling plan was created.
public ScalingPlan withCreationTime(Date creationTime)
The Unix timestamp when the scaling plan was created.
creationTime
- The Unix timestamp when the scaling plan was created.public String toString()
toString
in class Object
Object.toString()
public ScalingPlan clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.