Interface InstanceDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceDetails.Builder,
,InstanceDetails> SdkBuilder<InstanceDetails.Builder,
,InstanceDetails> SdkPojo
- Enclosing class:
InstanceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceDetails.Builder
ec2InstanceDetails
(Consumer<EC2InstanceDetails.Builder> ec2InstanceDetails) The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.ec2InstanceDetails
(EC2InstanceDetails ec2InstanceDetails) The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.default InstanceDetails.Builder
elastiCacheInstanceDetails
(Consumer<ElastiCacheInstanceDetails.Builder> elastiCacheInstanceDetails) The ElastiCache reservations that Amazon Web Services recommends that you purchase.elastiCacheInstanceDetails
(ElastiCacheInstanceDetails elastiCacheInstanceDetails) The ElastiCache reservations that Amazon Web Services recommends that you purchase.default InstanceDetails.Builder
esInstanceDetails
(Consumer<ESInstanceDetails.Builder> esInstanceDetails) The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.esInstanceDetails
(ESInstanceDetails esInstanceDetails) The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.default InstanceDetails.Builder
memoryDBInstanceDetails
(Consumer<MemoryDBInstanceDetails.Builder> memoryDBInstanceDetails) The MemoryDB reservations that Amazon Web Services recommends that you purchase.memoryDBInstanceDetails
(MemoryDBInstanceDetails memoryDBInstanceDetails) The MemoryDB reservations that Amazon Web Services recommends that you purchase.default InstanceDetails.Builder
rdsInstanceDetails
(Consumer<RDSInstanceDetails.Builder> rdsInstanceDetails) The Amazon RDS reservations that Amazon Web Services recommends that you purchase.rdsInstanceDetails
(RDSInstanceDetails rdsInstanceDetails) The Amazon RDS reservations that Amazon Web Services recommends that you purchase.default InstanceDetails.Builder
redshiftInstanceDetails
(Consumer<RedshiftInstanceDetails.Builder> redshiftInstanceDetails) The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.redshiftInstanceDetails
(RedshiftInstanceDetails redshiftInstanceDetails) The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.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
-
ec2InstanceDetails
The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.
- Parameters:
ec2InstanceDetails
- The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2InstanceDetails
default InstanceDetails.Builder ec2InstanceDetails(Consumer<EC2InstanceDetails.Builder> ec2InstanceDetails) The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theEC2InstanceDetails.Builder
avoiding the need to create one manually viaEC2InstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toec2InstanceDetails(EC2InstanceDetails)
.- Parameters:
ec2InstanceDetails
- a consumer that will call methods onEC2InstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rdsInstanceDetails
The Amazon RDS reservations that Amazon Web Services recommends that you purchase.
- Parameters:
rdsInstanceDetails
- The Amazon RDS reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsInstanceDetails
default InstanceDetails.Builder rdsInstanceDetails(Consumer<RDSInstanceDetails.Builder> rdsInstanceDetails) The Amazon RDS reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theRDSInstanceDetails.Builder
avoiding the need to create one manually viaRDSInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsInstanceDetails(RDSInstanceDetails)
.- Parameters:
rdsInstanceDetails
- a consumer that will call methods onRDSInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redshiftInstanceDetails
The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.
- Parameters:
redshiftInstanceDetails
- The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redshiftInstanceDetails
default InstanceDetails.Builder redshiftInstanceDetails(Consumer<RedshiftInstanceDetails.Builder> redshiftInstanceDetails) The Amazon Redshift reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theRedshiftInstanceDetails.Builder
avoiding the need to create one manually viaRedshiftInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredshiftInstanceDetails(RedshiftInstanceDetails)
.- Parameters:
redshiftInstanceDetails
- a consumer that will call methods onRedshiftInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elastiCacheInstanceDetails
InstanceDetails.Builder elastiCacheInstanceDetails(ElastiCacheInstanceDetails elastiCacheInstanceDetails) The ElastiCache reservations that Amazon Web Services recommends that you purchase.
- Parameters:
elastiCacheInstanceDetails
- The ElastiCache reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elastiCacheInstanceDetails
default InstanceDetails.Builder elastiCacheInstanceDetails(Consumer<ElastiCacheInstanceDetails.Builder> elastiCacheInstanceDetails) The ElastiCache reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theElastiCacheInstanceDetails.Builder
avoiding the need to create one manually viaElastiCacheInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelastiCacheInstanceDetails(ElastiCacheInstanceDetails)
.- Parameters:
elastiCacheInstanceDetails
- a consumer that will call methods onElastiCacheInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
esInstanceDetails
The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.
- Parameters:
esInstanceDetails
- The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
esInstanceDetails
default InstanceDetails.Builder esInstanceDetails(Consumer<ESInstanceDetails.Builder> esInstanceDetails) The Amazon OpenSearch Service reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theESInstanceDetails.Builder
avoiding the need to create one manually viaESInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toesInstanceDetails(ESInstanceDetails)
.- Parameters:
esInstanceDetails
- a consumer that will call methods onESInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryDBInstanceDetails
The MemoryDB reservations that Amazon Web Services recommends that you purchase.
- Parameters:
memoryDBInstanceDetails
- The MemoryDB reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryDBInstanceDetails
default InstanceDetails.Builder memoryDBInstanceDetails(Consumer<MemoryDBInstanceDetails.Builder> memoryDBInstanceDetails) The MemoryDB reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theMemoryDBInstanceDetails.Builder
avoiding the need to create one manually viaMemoryDBInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryDBInstanceDetails(MemoryDBInstanceDetails)
.- Parameters:
memoryDBInstanceDetails
- a consumer that will call methods onMemoryDBInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-