Interface InstanceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceDetails.Builder,,InstanceDetails> SdkBuilder<InstanceDetails.Builder,,InstanceDetails> SdkPojo
- Enclosing class:
InstanceDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceDetails.Builderec2InstanceDetails(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.BuilderelastiCacheInstanceDetails(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.BuilderesInstanceDetails(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.BuildermemoryDBInstanceDetails(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.BuilderrdsInstanceDetails(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.BuilderredshiftInstanceDetails(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
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
-
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.Builderavoiding the need to create one manually viaEC2InstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRDSInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRedshiftInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaElastiCacheInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaESInstanceDetails.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMemoryDBInstanceDetails.builder().When the
Consumercompletes,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:
-