Interface DistributionSegment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DistributionSegment.Builder,,DistributionSegment> SdkBuilder<DistributionSegment.Builder,,DistributionSegment> SdkPojo
- Enclosing class:
DistributionSegment
-
Method Summary
Modifier and TypeMethodDescriptiontargetCapacityTypes(Collection<TargetCapacityType> targetCapacityTypes) The capacity types to prioritize, in order.targetCapacityTypes(TargetCapacityType... targetCapacityTypes) The capacity types to prioritize, in order.targetCapacityTypesWithStrings(String... targetCapacityTypes) The capacity types to prioritize, in order.targetCapacityTypesWithStrings(Collection<String> targetCapacityTypes) The capacity types to prioritize, in order.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
-
targetCapacityTypesWithStrings
The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template
Overrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Parameters:
targetCapacityTypes- The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch templateOverrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCapacityTypesWithStrings
The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template
Overrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Parameters:
targetCapacityTypes- The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch templateOverrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCapacityTypes
The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template
Overrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Parameters:
targetCapacityTypes- The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch templateOverrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCapacityTypes
The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template
Overrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Parameters:
targetCapacityTypes- The capacity types to prioritize, in order. Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch templateOverrides.The following lists the valid values:
- on-demand-capacity-reservation
-
On-Demand Capacity Reservations.
- capacity-block
-
Capacity Blocks.
- interruptible-capacity-reservation
-
Interruptible Capacity Reservations.
- on-demand
-
On-Demand capacity. Include this value to allow the group to fall back to On-Demand capacity when the preceding capacity types are unavailable.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-