Class RecommendationItem
- java.lang.Object
-
- software.amazon.awssdk.services.resiliencehub.model.RecommendationItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RecommendationItem.Builder,RecommendationItem>
@Generated("software.amazon.awssdk:codegen") public final class RecommendationItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RecommendationItem.Builder,RecommendationItem>
Defines a recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRecommendationItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanalreadyImplemented()Specifies if the recommendation has already been implemented.static RecommendationItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Booleanexcluded()Indicates if an operational recommendation item is excluded.ExcludeRecommendationReasonexcludeReason()Indicates the reason for excluding an operational recommendation.StringexcludeReasonAsString()Indicates the reason for excluding an operational recommendation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceId()Identifier of the resource.List<SdkField<?>>sdkFields()static Class<? extends RecommendationItem.Builder>serializableBuilderClass()StringtargetAccountId()Identifier of the target account.StringtargetRegion()The target region.RecommendationItem.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
-
alreadyImplemented
public final Boolean alreadyImplemented()
Specifies if the recommendation has already been implemented.
- Returns:
- Specifies if the recommendation has already been implemented.
-
excludeReason
public final ExcludeRecommendationReason excludeReason()
Indicates the reason for excluding an operational recommendation.
If the service returns an enum value that is not available in the current SDK version,
excludeReasonwill returnExcludeRecommendationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexcludeReasonAsString().- Returns:
- Indicates the reason for excluding an operational recommendation.
- See Also:
ExcludeRecommendationReason
-
excludeReasonAsString
public final String excludeReasonAsString()
Indicates the reason for excluding an operational recommendation.
If the service returns an enum value that is not available in the current SDK version,
excludeReasonwill returnExcludeRecommendationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexcludeReasonAsString().- Returns:
- Indicates the reason for excluding an operational recommendation.
- See Also:
ExcludeRecommendationReason
-
excluded
public final Boolean excluded()
Indicates if an operational recommendation item is excluded.
- Returns:
- Indicates if an operational recommendation item is excluded.
-
resourceId
public final String resourceId()
Identifier of the resource.
- Returns:
- Identifier of the resource.
-
targetAccountId
public final String targetAccountId()
Identifier of the target account.
- Returns:
- Identifier of the target account.
-
targetRegion
public final String targetRegion()
The target region.
- Returns:
- The target region.
-
toBuilder
public RecommendationItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RecommendationItem.Builder,RecommendationItem>
-
builder
public static RecommendationItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends RecommendationItem.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.
-
-