Interface ExportPreferences.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExportPreferences.Builder,
,ExportPreferences> SdkBuilder<ExportPreferences.Builder,
,ExportPreferences> SdkPojo
- Enclosing class:
ExportPreferences
@Mutable
@NotThreadSafe
public static interface ExportPreferences.Builder
extends SdkPojo, CopyableBuilder<ExportPreferences.Builder,ExportPreferences>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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
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 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.Builder
avoiding the need to create one manually viaEc2RecommendationsExportPreferences.builder()
.When the
Consumer
completes,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:
-