Interface InventoryTierConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryTierConfiguration.Builder,,InventoryTierConfiguration> SdkBuilder<InventoryTierConfiguration.Builder,,InventoryTierConfiguration> SdkPojo
- Enclosing class:
InventoryTierConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionscheduledChange(Consumer<InventoryTierScheduledChange.Builder> scheduledChange) A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan.scheduledChange(InventoryTierScheduledChange scheduledChange) A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan.PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration.status(InventoryTierStatus status) PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration.The plan in effect, or, while Status is PENDING, the plan being applied.tier(InventoryTier tier) The plan in effect, or, while Status is PENDING, the plan being applied.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tier
The plan in effect, or, while Status is PENDING, the plan being applied.
- Parameters:
tier- The plan in effect, or, while Status is PENDING, the plan being applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tier
The plan in effect, or, while Status is PENDING, the plan being applied.
- Parameters:
tier- The plan in effect, or, while Status is PENDING, the plan being applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration. ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a ScheduledChange.
- Parameters:
status- PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration. ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a ScheduledChange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration. ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a ScheduledChange.
- Parameters:
status- PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration. ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a ScheduledChange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduledChange
A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan. Absent when no change is scheduled.
- Parameters:
scheduledChange- A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan. Absent when no change is scheduled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledChange
default InventoryTierConfiguration.Builder scheduledChange(Consumer<InventoryTierScheduledChange.Builder> scheduledChange) A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan. Absent when no change is scheduled.
This is a convenience method that creates an instance of theInventoryTierScheduledChange.Builderavoiding the need to create one manually viaInventoryTierScheduledChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledChange(InventoryTierScheduledChange).- Parameters:
scheduledChange- a consumer that will call methods onInventoryTierScheduledChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-