Class AgentRecommendationSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AgentRecommendationSummary.Builder,AgentRecommendationSummary>
Summary of an agent optimization recommendation returned by list operations.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe applications that the recommendation targets.The Amazon Web Services services that the recommendation applies to.builder()The business units that own the affected resources.final InstantThe timestamp when the recommendation was created.final StringThe identifier of the user or system that created this recommendation.final StringA description of the recommendation.final Efforteffort()The effort required to implement the recommendation.final StringThe effort required to implement the recommendation.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the Applications property.final booleanFor responses, this returns true if the service returned a value for the AwsServices property.final booleanFor responses, this returns true if the service returned a value for the BusinessUnits property.final inthashCode()final ImpactCategoryimpact()The severity of the recommendation's impact.final StringThe severity of the recommendation's impact.final InstantThe timestamp when the recommendation was last modified.final StringThe identifier of the user or system that last modified this recommendation.final IntegerThe number of Amazon Web Services resources this recommendation affects.final Pillarpillar()The Well-Architected Tool Framework pillar that the recommendation addresses.final StringThe Well-Architected Tool Framework pillar that the recommendation addresses.final Prioritypriority()The priority of the recommendation.final StringThe priority of the recommendation.final StringThe Amazon Resource Name (ARN) of the associated profile.final StringThe Amazon Resource Name (ARN) of the recommendation.final Roiroi()The return on investment estimate for the recommendation.static Class<? extends AgentRecommendationSummary.Builder> final RecommendationStatestate()The current state of the recommendation.final StringThe current state of the recommendation.final RecommendationStatusstatus()The current status of the recommendation.final StringThe current status of the recommendation.final Stringtitle()The title of the recommendation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final RecommendationTypetype()The type of the recommendation.final StringThe type of the recommendation.final StringThe free-text reason associated with the recommendation's most recent status update.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
recommendationArn
The Amazon Resource Name (ARN) of the recommendation.
- Returns:
- The Amazon Resource Name (ARN) of the recommendation.
-
profileArn
The Amazon Resource Name (ARN) of the associated profile.
- Returns:
- The Amazon Resource Name (ARN) of the associated profile.
-
title
The title of the recommendation.
- Returns:
- The title of the recommendation.
-
description
A description of the recommendation.
- Returns:
- A description of the recommendation.
-
type
The type of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the recommendation.
- See Also:
-
typeAsString
The type of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
typewill returnRecommendationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the recommendation.
- See Also:
-
pillar
The Well-Architected Tool Framework pillar that the recommendation addresses.
If the service returns an enum value that is not available in the current SDK version,
pillarwill returnPillar.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompillarAsString().- Returns:
- The Well-Architected Tool Framework pillar that the recommendation addresses.
- See Also:
-
pillarAsString
The Well-Architected Tool Framework pillar that the recommendation addresses.
If the service returns an enum value that is not available in the current SDK version,
pillarwill returnPillar.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompillarAsString().- Returns:
- The Well-Architected Tool Framework pillar that the recommendation addresses.
- See Also:
-
priority
The priority of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
prioritywill returnPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- The priority of the recommendation.
- See Also:
-
priorityAsString
The priority of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
prioritywill returnPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- The priority of the recommendation.
- See Also:
-
effort
The effort required to implement the recommendation.
If the service returns an enum value that is not available in the current SDK version,
effortwill returnEffort.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeffortAsString().- Returns:
- The effort required to implement the recommendation.
- See Also:
-
effortAsString
The effort required to implement the recommendation.
If the service returns an enum value that is not available in the current SDK version,
effortwill returnEffort.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeffortAsString().- Returns:
- The effort required to implement the recommendation.
- See Also:
-
status
The current status of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the recommendation.
- See Also:
-
statusAsString
The current status of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRecommendationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the recommendation.
- See Also:
-
state
The current state of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRecommendationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the recommendation.
- See Also:
-
stateAsString
The current state of the recommendation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnRecommendationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the recommendation.
- See Also:
-
updateReason
The free-text reason associated with the recommendation's most recent status update.
- Returns:
- The free-text reason associated with the recommendation's most recent status update.
-
impact
The severity of the recommendation's impact.
If the service returns an enum value that is not available in the current SDK version,
impactwill returnImpactCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactAsString().- Returns:
- The severity of the recommendation's impact.
- See Also:
-
impactAsString
The severity of the recommendation's impact.
If the service returns an enum value that is not available in the current SDK version,
impactwill returnImpactCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimpactAsString().- Returns:
- The severity of the recommendation's impact.
- See Also:
-
roi
The return on investment estimate for the recommendation.
- Returns:
- The return on investment estimate for the recommendation.
-
numberOfResources
The number of Amazon Web Services resources this recommendation affects.
- Returns:
- The number of Amazon Web Services resources this recommendation affects.
-
hasAwsServices
public final boolean hasAwsServices()For responses, this returns true if the service returned a value for the AwsServices property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
awsServices
The Amazon Web Services services that the recommendation applies to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAwsServices()method.- Returns:
- The Amazon Web Services services that the recommendation applies to.
-
hasBusinessUnits
public final boolean hasBusinessUnits()For responses, this returns true if the service returned a value for the BusinessUnits property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
businessUnits
The business units that own the affected resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasBusinessUnits()method.- Returns:
- The business units that own the affected resources.
-
hasApplications
public final boolean hasApplications()For responses, this returns true if the service returned a value for the Applications property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
applications
The applications that the recommendation targets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasApplications()method.- Returns:
- The applications that the recommendation targets.
-
createdBy
The identifier of the user or system that created this recommendation.
- Returns:
- The identifier of the user or system that created this recommendation.
-
createdAt
The timestamp when the recommendation was created.
- Returns:
- The timestamp when the recommendation was created.
-
lastModifiedBy
The identifier of the user or system that last modified this recommendation.
- Returns:
- The identifier of the user or system that last modified this recommendation.
-
lastModifiedAt
The timestamp when the recommendation was last modified.
- Returns:
- The timestamp when the recommendation was last modified.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AgentRecommendationSummary.Builder,AgentRecommendationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-