@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationItem extends Object implements Serializable, Cloneable, StructuredPojo
Defines a recommendation.
Constructor and Description |
---|
RecommendationItem() |
Modifier and Type | Method and Description |
---|---|
RecommendationItem |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAlreadyImplemented()
Specifies if the recommendation has already been implemented.
|
Boolean |
getExcluded()
Indicates if an operational recommendation item is excluded.
|
String |
getExcludeReason()
Indicates the reason for excluding an operational recommendation.
|
String |
getResourceId()
Identifier of the resource.
|
String |
getTargetAccountId()
Identifier of the target account.
|
String |
getTargetRegion()
The target region.
|
int |
hashCode() |
Boolean |
isAlreadyImplemented()
Specifies if the recommendation has already been implemented.
|
Boolean |
isExcluded()
Indicates if an operational recommendation item is excluded.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlreadyImplemented(Boolean alreadyImplemented)
Specifies if the recommendation has already been implemented.
|
void |
setExcluded(Boolean excluded)
Indicates if an operational recommendation item is excluded.
|
void |
setExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
|
void |
setResourceId(String resourceId)
Identifier of the resource.
|
void |
setTargetAccountId(String targetAccountId)
Identifier of the target account.
|
void |
setTargetRegion(String targetRegion)
The target region.
|
String |
toString()
Returns a string representation of this object.
|
RecommendationItem |
withAlreadyImplemented(Boolean alreadyImplemented)
Specifies if the recommendation has already been implemented.
|
RecommendationItem |
withExcluded(Boolean excluded)
Indicates if an operational recommendation item is excluded.
|
RecommendationItem |
withExcludeReason(ExcludeRecommendationReason excludeReason)
Indicates the reason for excluding an operational recommendation.
|
RecommendationItem |
withExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
|
RecommendationItem |
withResourceId(String resourceId)
Identifier of the resource.
|
RecommendationItem |
withTargetAccountId(String targetAccountId)
Identifier of the target account.
|
RecommendationItem |
withTargetRegion(String targetRegion)
The target region.
|
public void setAlreadyImplemented(Boolean alreadyImplemented)
Specifies if the recommendation has already been implemented.
alreadyImplemented
- Specifies if the recommendation has already been implemented.public Boolean getAlreadyImplemented()
Specifies if the recommendation has already been implemented.
public RecommendationItem withAlreadyImplemented(Boolean alreadyImplemented)
Specifies if the recommendation has already been implemented.
alreadyImplemented
- Specifies if the recommendation has already been implemented.public Boolean isAlreadyImplemented()
Specifies if the recommendation has already been implemented.
public void setExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public String getExcludeReason()
Indicates the reason for excluding an operational recommendation.
ExcludeRecommendationReason
public RecommendationItem withExcludeReason(String excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public RecommendationItem withExcludeReason(ExcludeRecommendationReason excludeReason)
Indicates the reason for excluding an operational recommendation.
excludeReason
- Indicates the reason for excluding an operational recommendation.ExcludeRecommendationReason
public void setExcluded(Boolean excluded)
Indicates if an operational recommendation item is excluded.
excluded
- Indicates if an operational recommendation item is excluded.public Boolean getExcluded()
Indicates if an operational recommendation item is excluded.
public RecommendationItem withExcluded(Boolean excluded)
Indicates if an operational recommendation item is excluded.
excluded
- Indicates if an operational recommendation item is excluded.public Boolean isExcluded()
Indicates if an operational recommendation item is excluded.
public void setResourceId(String resourceId)
Identifier of the resource.
resourceId
- Identifier of the resource.public String getResourceId()
Identifier of the resource.
public RecommendationItem withResourceId(String resourceId)
Identifier of the resource.
resourceId
- Identifier of the resource.public void setTargetAccountId(String targetAccountId)
Identifier of the target account.
targetAccountId
- Identifier of the target account.public String getTargetAccountId()
Identifier of the target account.
public RecommendationItem withTargetAccountId(String targetAccountId)
Identifier of the target account.
targetAccountId
- Identifier of the target account.public void setTargetRegion(String targetRegion)
The target region.
targetRegion
- The target region.public String getTargetRegion()
The target region.
public RecommendationItem withTargetRegion(String targetRegion)
The target region.
targetRegion
- The target region.public String toString()
toString
in class Object
Object.toString()
public RecommendationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.