@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RightsizingRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Recommendations to rightsize resources.
| Constructor and Description |
|---|
RightsizingRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
RightsizingRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account that this recommendation is for.
|
CurrentInstance |
getCurrentInstance()
Context regarding the current instance.
|
ModifyRecommendationDetail |
getModifyRecommendationDetail()
Details for modification recommendations.
|
String |
getRightsizingType()
Recommendation to either terminate or modify the resource.
|
TerminateRecommendationDetail |
getTerminateRecommendationDetail()
Details for termination recommendations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccountId(String accountId)
The account that this recommendation is for.
|
void |
setCurrentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
|
void |
setModifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
|
void |
setRightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
|
void |
setTerminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
|
String |
toString()
Returns a string representation of this object.
|
RightsizingRecommendation |
withAccountId(String accountId)
The account that this recommendation is for.
|
RightsizingRecommendation |
withCurrentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
|
RightsizingRecommendation |
withModifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
|
RightsizingRecommendation |
withRightsizingType(RightsizingType rightsizingType)
Recommendation to either terminate or modify the resource.
|
RightsizingRecommendation |
withRightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
|
RightsizingRecommendation |
withTerminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
|
public void setAccountId(String accountId)
The account that this recommendation is for.
accountId - The account that this recommendation is for.public String getAccountId()
The account that this recommendation is for.
public RightsizingRecommendation withAccountId(String accountId)
The account that this recommendation is for.
accountId - The account that this recommendation is for.public void setCurrentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
currentInstance - Context regarding the current instance.public CurrentInstance getCurrentInstance()
Context regarding the current instance.
public RightsizingRecommendation withCurrentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
currentInstance - Context regarding the current instance.public void setRightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
rightsizingType - Recommendation to either terminate or modify the resource.RightsizingTypepublic String getRightsizingType()
Recommendation to either terminate or modify the resource.
RightsizingTypepublic RightsizingRecommendation withRightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
rightsizingType - Recommendation to either terminate or modify the resource.RightsizingTypepublic RightsizingRecommendation withRightsizingType(RightsizingType rightsizingType)
Recommendation to either terminate or modify the resource.
rightsizingType - Recommendation to either terminate or modify the resource.RightsizingTypepublic void setModifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
modifyRecommendationDetail - Details for modification recommendations.public ModifyRecommendationDetail getModifyRecommendationDetail()
Details for modification recommendations.
public RightsizingRecommendation withModifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
modifyRecommendationDetail - Details for modification recommendations.public void setTerminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
terminateRecommendationDetail - Details for termination recommendations.public TerminateRecommendationDetail getTerminateRecommendationDetail()
Details for termination recommendations.
public RightsizingRecommendation withTerminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
terminateRecommendationDetail - Details for termination recommendations.public String toString()
toString in class ObjectObject.toString()public RightsizingRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.