@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyRecommendationDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details for the modification recommendation.
Constructor and Description |
---|
ModifyRecommendationDetail() |
Modifier and Type | Method and Description |
---|---|
ModifyRecommendationDetail |
clone() |
boolean |
equals(Object obj) |
List<TargetInstance> |
getTargetInstances()
Determines whether this instance type is the Amazon Web Services default recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTargetInstances(Collection<TargetInstance> targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ModifyRecommendationDetail |
withTargetInstances(Collection<TargetInstance> targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
|
ModifyRecommendationDetail |
withTargetInstances(TargetInstance... targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
|
public List<TargetInstance> getTargetInstances()
Determines whether this instance type is the Amazon Web Services default recommendation.
public void setTargetInstances(Collection<TargetInstance> targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
targetInstances
- Determines whether this instance type is the Amazon Web Services default recommendation.public ModifyRecommendationDetail withTargetInstances(TargetInstance... targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setTargetInstances(java.util.Collection)
or withTargetInstances(java.util.Collection)
if you
want to override the existing values.
targetInstances
- Determines whether this instance type is the Amazon Web Services default recommendation.public ModifyRecommendationDetail withTargetInstances(Collection<TargetInstance> targetInstances)
Determines whether this instance type is the Amazon Web Services default recommendation.
targetInstances
- Determines whether this instance type is the Amazon Web Services default recommendation.public String toString()
toString
in class Object
Object.toString()
public ModifyRecommendationDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.