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
Modifier and TypeMethodDescriptiondefault 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.ec2RecommendationsPreferences(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-