Interface ExportPreferences.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExportPreferences.Builder,ExportPreferences>,SdkBuilder<ExportPreferences.Builder,ExportPreferences>,SdkPojo
- Enclosing class:
- ExportPreferences
public static interface ExportPreferences.Builder extends SdkPojo, CopyableBuilder<ExportPreferences.Builder,ExportPreferences>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExportPreferences.Builderec2RecommendationsPreferences(Consumer<Ec2RecommendationsExportPreferences.Builder> ec2RecommendationsPreferences)If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.ExportPreferences.Builderec2RecommendationsPreferences(Ec2RecommendationsExportPreferences ec2RecommendationsPreferences)If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.-
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
-
ec2RecommendationsPreferences
ExportPreferences.Builder ec2RecommendationsPreferences(Ec2RecommendationsExportPreferences ec2RecommendationsPreferences)
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
- Parameters:
ec2RecommendationsPreferences- If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ec2RecommendationsPreferences
default ExportPreferences.Builder ec2RecommendationsPreferences(Consumer<Ec2RecommendationsExportPreferences.Builder> ec2RecommendationsPreferences)
If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.
This is a convenience method that creates an instance of theEc2RecommendationsExportPreferences.Builderavoiding the need to create one manually viaEc2RecommendationsExportPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toec2RecommendationsPreferences(Ec2RecommendationsExportPreferences).- Parameters:
ec2RecommendationsPreferences- a consumer that will call methods onEc2RecommendationsExportPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ec2RecommendationsPreferences(Ec2RecommendationsExportPreferences)
-
-