Interface ReservedInstancesConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
,SdkBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
,SdkPojo
- Enclosing class:
- ReservedInstancesConfiguration
public static interface ReservedInstancesConfiguration.Builder extends SdkPojo, CopyableBuilder<ReservedInstancesConfiguration.Builder,ReservedInstancesConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReservedInstancesConfiguration.Builder
availabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.ReservedInstancesConfiguration.Builder
instanceCount(Integer instanceCount)
The number of modified Reserved Instances.ReservedInstancesConfiguration.Builder
instanceType(String instanceType)
The instance type for the modified Reserved Instances.ReservedInstancesConfiguration.Builder
instanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.ReservedInstancesConfiguration.Builder
platform(String platform)
The network platform of the modified Reserved Instances.ReservedInstancesConfiguration.Builder
scope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.ReservedInstancesConfiguration.Builder
scope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
availabilityZone
ReservedInstancesConfiguration.Builder availabilityZone(String availabilityZone)
The Availability Zone for the modified Reserved Instances.
- Parameters:
availabilityZone
- The Availability Zone for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceCount
ReservedInstancesConfiguration.Builder instanceCount(Integer instanceCount)
The number of modified Reserved Instances.
This is a required field for a request.
- Parameters:
instanceCount
- The number of modified Reserved Instances.This is a required field for a request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
ReservedInstancesConfiguration.Builder instanceType(String instanceType)
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
instanceType
ReservedInstancesConfiguration.Builder instanceType(InstanceType instanceType)
The instance type for the modified Reserved Instances.
- Parameters:
instanceType
- The instance type for the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceType
,InstanceType
-
platform
ReservedInstancesConfiguration.Builder platform(String platform)
The network platform of the modified Reserved Instances.
- Parameters:
platform
- The network platform of the modified Reserved Instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
ReservedInstancesConfiguration.Builder scope(String scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
-
scope
ReservedInstancesConfiguration.Builder scope(Scope scope)
Whether the Reserved Instance is applied to instances in a Region or instances in a specific Availability Zone.
-
-