Interface EbsVolume.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EbsVolume.Builder,EbsVolume>,SdkBuilder<EbsVolume.Builder,EbsVolume>,SdkPojo
- Enclosing class:
- EbsVolume
public static interface EbsVolume.Builder extends SdkPojo, CopyableBuilder<EbsVolume.Builder,EbsVolume>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EbsVolume.Builderconfiguration(Consumer<EbsVolumeConfiguration.Builder> configuration)The Amazon Elastic Block Store volume configuration used for recommendations.EbsVolume.Builderconfiguration(EbsVolumeConfiguration configuration)The Amazon Elastic Block Store volume configuration used for recommendations.default EbsVolume.BuildercostCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation)Cost impact of the recommendation.EbsVolume.BuildercostCalculation(ResourceCostCalculation costCalculation)Cost impact of the recommendation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
configuration
EbsVolume.Builder configuration(EbsVolumeConfiguration configuration)
The Amazon Elastic Block Store volume configuration used for recommendations.
- Parameters:
configuration- The Amazon Elastic Block Store volume configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default EbsVolume.Builder configuration(Consumer<EbsVolumeConfiguration.Builder> configuration)
The Amazon Elastic Block Store volume configuration used for recommendations.
This is a convenience method that creates an instance of theEbsVolumeConfiguration.Builderavoiding the need to create one manually viaEbsVolumeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(EbsVolumeConfiguration).- Parameters:
configuration- a consumer that will call methods onEbsVolumeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(EbsVolumeConfiguration)
-
costCalculation
EbsVolume.Builder costCalculation(ResourceCostCalculation costCalculation)
Cost impact of the recommendation.
- Parameters:
costCalculation- Cost impact of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCalculation
default EbsVolume.Builder costCalculation(Consumer<ResourceCostCalculation.Builder> costCalculation)
Cost impact of the recommendation.
This is a convenience method that creates an instance of theResourceCostCalculation.Builderavoiding the need to create one manually viaResourceCostCalculation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostCalculation(ResourceCostCalculation).- Parameters:
costCalculation- a consumer that will call methods onResourceCostCalculation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
costCalculation(ResourceCostCalculation)
-
-