public static interface ScalingPlan.Builder extends SdkPojo, CopyableBuilder<ScalingPlan.Builder,ScalingPlan>
Modifier and Type | Method and Description |
---|---|
ScalingPlan.Builder |
applicationSource(ApplicationSource applicationSource)
The application source.
|
default ScalingPlan.Builder |
applicationSource(Consumer<ApplicationSource.Builder> applicationSource)
The application source.
|
ScalingPlan.Builder |
creationTime(Instant creationTime)
The Unix time stamp when the scaling plan was created.
|
ScalingPlan.Builder |
scalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
|
ScalingPlan.Builder |
scalingInstructions(Consumer<ScalingInstruction.Builder>... scalingInstructions)
The scaling instructions.
|
ScalingPlan.Builder |
scalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
|
ScalingPlan.Builder |
scalingPlanName(String scalingPlanName)
The name of the scaling plan.
|
ScalingPlan.Builder |
scalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan.
|
ScalingPlan.Builder |
statusCode(ScalingPlanStatusCode statusCode)
The status of the scaling plan.
|
ScalingPlan.Builder |
statusCode(String statusCode)
The status of the scaling plan.
|
ScalingPlan.Builder |
statusMessage(String statusMessage)
A simple message about the current status of the scaling plan.
|
ScalingPlan.Builder |
statusStartTime(Instant statusStartTime)
The Unix time stamp when the scaling plan entered the current status.
|
copy
applyMutation, build
ScalingPlan.Builder scalingPlanName(String scalingPlanName)
The name of the scaling plan.
scalingPlanName
- The name of the scaling plan.ScalingPlan.Builder scalingPlanVersion(Long scalingPlanVersion)
The version number of the scaling plan.
scalingPlanVersion
- The version number of the scaling plan.ScalingPlan.Builder applicationSource(ApplicationSource applicationSource)
The application source.
applicationSource
- The application source.default ScalingPlan.Builder applicationSource(Consumer<ApplicationSource.Builder> applicationSource)
The application source.
This is a convenience that creates an instance of theApplicationSource.Builder
avoiding the need to
create one manually via ApplicationSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to applicationSource(ApplicationSource)
.applicationSource
- a consumer that will call methods on ApplicationSource.Builder
applicationSource(ApplicationSource)
ScalingPlan.Builder scalingInstructions(Collection<ScalingInstruction> scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.ScalingPlan.Builder scalingInstructions(ScalingInstruction... scalingInstructions)
The scaling instructions.
scalingInstructions
- The scaling instructions.ScalingPlan.Builder scalingInstructions(Consumer<ScalingInstruction.Builder>... scalingInstructions)
The scaling instructions.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #scalingInstructions(List)
.scalingInstructions
- a consumer that will call methods on List.Builder
#scalingInstructions(List)
ScalingPlan.Builder statusCode(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
,
ScalingPlanStatusCode
ScalingPlan.Builder statusCode(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
,
ScalingPlanStatusCode
ScalingPlan.Builder statusMessage(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.ScalingPlan.Builder statusStartTime(Instant 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.ScalingPlan.Builder creationTime(Instant creationTime)
The Unix time stamp when the scaling plan was created.
creationTime
- The Unix time stamp when the scaling plan was created.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.