Interface InstanceDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceDetails.Builder,InstanceDetails>,SdkBuilder<InstanceDetails.Builder,InstanceDetails>,SdkPojo
- Enclosing class:
- InstanceDetails
public static interface InstanceDetails.Builder extends SdkPojo, CopyableBuilder<InstanceDetails.Builder,InstanceDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceDetails.Builderec2InstanceDetails(Consumer<EC2InstanceDetails.Builder> ec2InstanceDetails)The Amazon EC2 reservations that Amazon Web Services recommends that you purchase.InstanceDetails.Builderec2InstanceDetails(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.InstanceDetails.BuilderelastiCacheInstanceDetails(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.InstanceDetails.BuilderesInstanceDetails(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.InstanceDetails.BuildermemoryDBInstanceDetails(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.InstanceDetails.BuilderrdsInstanceDetails(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.InstanceDetails.BuilderredshiftInstanceDetails(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 Detail
-
ec2InstanceDetails
InstanceDetails.Builder ec2InstanceDetails(EC2InstanceDetails 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:
ec2InstanceDetails(EC2InstanceDetails)
-
rdsInstanceDetails
InstanceDetails.Builder rdsInstanceDetails(RDSInstanceDetails 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:
rdsInstanceDetails(RDSInstanceDetails)
-
redshiftInstanceDetails
InstanceDetails.Builder redshiftInstanceDetails(RedshiftInstanceDetails 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:
redshiftInstanceDetails(RedshiftInstanceDetails)
-
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:
elastiCacheInstanceDetails(ElastiCacheInstanceDetails)
-
esInstanceDetails
InstanceDetails.Builder esInstanceDetails(ESInstanceDetails 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:
esInstanceDetails(ESInstanceDetails)
-
memoryDBInstanceDetails
InstanceDetails.Builder memoryDBInstanceDetails(MemoryDBInstanceDetails 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:
memoryDBInstanceDetails(MemoryDBInstanceDetails)
-
-