Class ApplicationComponentStrategy
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.ApplicationComponentStrategy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationComponentStrategy.Builder,ApplicationComponentStrategy>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationComponentStrategy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationComponentStrategy.Builder,ApplicationComponentStrategy>
Contains information about a strategy recommendation for an application component.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationComponentStrategy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationComponentStrategy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisPreferred()Set to true if the recommendation is set as preferred.RecommendationSetrecommendation()Strategy recommendation for the application component.List<SdkField<?>>sdkFields()static Class<? extends ApplicationComponentStrategy.Builder>serializableBuilderClass()StrategyRecommendationstatus()The recommendation status of a strategy for an application component.StringstatusAsString()The recommendation status of a strategy for an application component.ApplicationComponentStrategy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isPreferred
public final Boolean isPreferred()
Set to true if the recommendation is set as preferred.
- Returns:
- Set to true if the recommendation is set as preferred.
-
recommendation
public final RecommendationSet recommendation()
Strategy recommendation for the application component.
- Returns:
- Strategy recommendation for the application component.
-
status
public final StrategyRecommendation status()
The recommendation status of a strategy for an application component.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStrategyRecommendation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The recommendation status of a strategy for an application component.
- See Also:
StrategyRecommendation
-
statusAsString
public final String statusAsString()
The recommendation status of a strategy for an application component.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStrategyRecommendation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The recommendation status of a strategy for an application component.
- See Also:
StrategyRecommendation
-
toBuilder
public ApplicationComponentStrategy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationComponentStrategy.Builder,ApplicationComponentStrategy>
-
builder
public static ApplicationComponentStrategy.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationComponentStrategy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-