Interface OrderableDBInstanceOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrderableDBInstanceOption.Builder,
,OrderableDBInstanceOption> SdkBuilder<OrderableDBInstanceOption.Builder,
,OrderableDBInstanceOption> SdkPojo
- Enclosing class:
OrderableDBInstanceOption
public static interface OrderableDBInstanceOption.Builder
extends SdkPojo, CopyableBuilder<OrderableDBInstanceOption.Builder,OrderableDBInstanceOption>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones
(Collection<AvailabilityZone> availabilityZones) A list of Availability Zones for an instance.availabilityZones
(Consumer<AvailabilityZone.Builder>... availabilityZones) A list of Availability Zones for an instance.availabilityZones
(AvailabilityZone... availabilityZones) A list of Availability Zones for an instance.dbInstanceClass
(String dbInstanceClass) The instance class for an instance.The engine type of an instance.engineVersion
(String engineVersion) The engine version of an instance.licenseModel
(String licenseModel) The license model for an instance.storageType
(String storageType) The storage type to associate with the DB clusterIndicates whether an instance is in a virtual private cloud (VPC).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 Details
-
engine
The engine type of an instance.
- Parameters:
engine
- The engine type of an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineVersion
The engine version of an instance.
- Parameters:
engineVersion
- The engine version of an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstanceClass
The instance class for an instance.
- Parameters:
dbInstanceClass
- The instance class for an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseModel
The license model for an instance.
- Parameters:
licenseModel
- The license model for an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
A list of Availability Zones for an instance.
- Parameters:
availabilityZones
- A list of Availability Zones for an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
A list of Availability Zones for an instance.
- Parameters:
availabilityZones
- A list of Availability Zones for an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
OrderableDBInstanceOption.Builder availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones) A list of Availability Zones for an instance.
This is a convenience method that creates an instance of theAvailabilityZone.Builder
avoiding the need to create one manually viaAvailabilityZone.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toavailabilityZones(List<AvailabilityZone>)
.- Parameters:
availabilityZones
- a consumer that will call methods onAvailabilityZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpc
Indicates whether an instance is in a virtual private cloud (VPC).
- Parameters:
vpc
- Indicates whether an instance is in a virtual private cloud (VPC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
The storage type to associate with the DB cluster
- Parameters:
storageType
- The storage type to associate with the DB cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-