Interface Recommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Recommendation.Builder,
,Recommendation> SdkBuilder<Recommendation.Builder,
,Recommendation> SdkPojo
- Enclosing class:
Recommendation
-
Method Summary
Modifier and TypeMethodDescriptioncreatedDate
(String createdDate) The date when Fleet Advisor created the target engine recommendation.default Recommendation.Builder
The recommendation of a target engine for the specified source database.data
(RecommendationData data) The recommendation of a target engine for the specified source database.databaseId
(String databaseId) The identifier of the source database for which Fleet Advisor provided this recommendation.engineName
(String engineName) The name of the target engine.Indicates that this target is the rightsized migration destination.default Recommendation.Builder
settings
(Consumer<RecommendationSettings.Builder> settings) The settings in JSON format for the preferred target engine parameters.settings
(RecommendationSettings settings) The settings in JSON format for the preferred target engine parameters.The status of the target engine 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, sdkFields
-
Method Details
-
databaseId
The identifier of the source database for which Fleet Advisor provided this recommendation.
- Parameters:
databaseId
- The identifier of the source database for which Fleet Advisor provided this recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineName
The name of the target engine. Valid values include
"rds-aurora-mysql"
,"rds-aurora-postgresql"
,"rds-mysql"
,"rds-oracle"
,"rds-sql-server"
, and"rds-postgresql"
.- Parameters:
engineName
- The name of the target engine. Valid values include"rds-aurora-mysql"
,"rds-aurora-postgresql"
,"rds-mysql"
,"rds-oracle"
,"rds-sql-server"
, and"rds-postgresql"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
The date when Fleet Advisor created the target engine recommendation.
- Parameters:
createdDate
- The date when Fleet Advisor created the target engine recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the target engine recommendation. Valid values include
"alternate"
,"in-progress"
,"not-viable"
, and"recommended"
.- Parameters:
status
- The status of the target engine recommendation. Valid values include"alternate"
,"in-progress"
,"not-viable"
, and"recommended"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferred
Indicates that this target is the rightsized migration destination.
- Parameters:
preferred
- Indicates that this target is the rightsized migration destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).
- Parameters:
settings
- The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
The settings in JSON format for the preferred target engine parameters. These parameters include capacity, resource utilization, and the usage type (production, development, or testing).
This is a convenience method that creates an instance of theRecommendationSettings.Builder
avoiding the need to create one manually viaRecommendationSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(RecommendationSettings)
.- Parameters:
settings
- a consumer that will call methods onRecommendationSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
data
The recommendation of a target engine for the specified source database.
- Parameters:
data
- The recommendation of a target engine for the specified source database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The recommendation of a target engine for the specified source database.
This is a convenience method that creates an instance of theRecommendationData.Builder
avoiding the need to create one manually viaRecommendationData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(RecommendationData)
.- Parameters:
data
- a consumer that will call methods onRecommendationData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-