Interface Recommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,Recommendation>,SdkBuilder<Recommendation.Builder,Recommendation>,SdkPojo
- Enclosing class:
- Recommendation
@Mutable @NotThreadSafe public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Recommendation.BuildercreatedDate(String createdDate)The date when Fleet Advisor created the target engine recommendation.default Recommendation.Builderdata(Consumer<RecommendationData.Builder> data)The recommendation of a target engine for the specified source database.Recommendation.Builderdata(RecommendationData data)The recommendation of a target engine for the specified source database.Recommendation.BuilderdatabaseId(String databaseId)The identifier of the source database for which Fleet Advisor provided this recommendation.Recommendation.BuilderengineName(String engineName)The name of the target engine.Recommendation.Builderpreferred(Boolean preferred)Indicates that this target is the rightsized migration destination.default Recommendation.Buildersettings(Consumer<RecommendationSettings.Builder> settings)The settings in JSON format for the preferred target engine parameters.Recommendation.Buildersettings(RecommendationSettings settings)The settings in JSON format for the preferred target engine parameters.Recommendation.Builderstatus(String status)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
databaseId
Recommendation.Builder databaseId(String 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
Recommendation.Builder engineName(String 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
Recommendation.Builder createdDate(String 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
Recommendation.Builder status(String 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
Recommendation.Builder preferred(Boolean 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
Recommendation.Builder settings(RecommendationSettings 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
default Recommendation.Builder settings(Consumer<RecommendationSettings.Builder> 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.Builderavoiding the need to create one manually viaRecommendationSettings.builder().When the
Consumercompletes,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:
settings(RecommendationSettings)
-
data
Recommendation.Builder data(RecommendationData 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
default Recommendation.Builder data(Consumer<RecommendationData.Builder> data)
The recommendation of a target engine for the specified source database.
This is a convenience method that creates an instance of theRecommendationData.Builderavoiding the need to create one manually viaRecommendationData.builder().When the
Consumercompletes,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:
data(RecommendationData)
-
-