@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 time stamp when the scaling plan was created.
|
List<ScalingInstruction> |
getScalingInstructions()
The scaling instructions.
|
String |
getScalingPlanName()
The name of the scaling plan.
|
Long |
getScalingPlanVersion()
The version number 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.
|
Date |
getStatusStartTime()
The Unix time stamp when the scaling plan entered the current status.
|
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 time stamp 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 number 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.
|
void |
setStatusStartTime(Date statusStartTime)
The Unix time stamp when the scaling plan entered the current status.
|
String |
toString()
Returns a string representation of this object.
|
ScalingPlan |
withApplicationSource(ApplicationSource applicationSource)
The application source.
|
ScalingPlan |
withCreationTime(Date creationTime)
The Unix time stamp 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 number 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.
|
ScalingPlan |
withStatusStartTime(Date statusStartTime)
The Unix time stamp when the scaling plan entered the current status.
|
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 number of the scaling plan.
scalingPlanVersion
- The version number of the scaling plan.public Long getScalingPlanVersion()
The version number of the scaling plan.
public ScalingPlan withScalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan.
scalingPlanVersion
- The version number 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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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.
UpdateInProgress
- The scaling plan is being updated.
UpdateFailed
- The scaling plan could not be updated.
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 setStatusStartTime(Date statusStartTime)
The Unix time stamp when the scaling plan entered the current status.
statusStartTime
- The Unix time stamp when the scaling plan entered the current status.public Date getStatusStartTime()
The Unix time stamp when the scaling plan entered the current status.
public ScalingPlan withStatusStartTime(Date statusStartTime)
The Unix time stamp when the scaling plan entered the current status.
statusStartTime
- The Unix time stamp when the scaling plan entered the current status.public void setCreationTime(Date creationTime)
The Unix time stamp when the scaling plan was created.
creationTime
- The Unix time stamp when the scaling plan was created.public Date getCreationTime()
The Unix time stamp when the scaling plan was created.
public ScalingPlan withCreationTime(Date creationTime)
The Unix time stamp when the scaling plan was created.
creationTime
- The Unix time stamp 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.