@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyRecommendationDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details on the modification recommendation.
Constructor and Description |
---|
ModifyRecommendationDetail() |
Modifier and Type | Method and Description |
---|---|
ModifyRecommendationDetail |
clone() |
boolean |
equals(Object obj) |
List<TargetInstance> |
getTargetInstances()
Identifies whether this instance type is the AWS default recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTargetInstances(Collection<TargetInstance> targetInstances)
Identifies whether this instance type is the AWS default recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ModifyRecommendationDetail |
withTargetInstances(Collection<TargetInstance> targetInstances)
Identifies whether this instance type is the AWS default recommendation.
|
ModifyRecommendationDetail |
withTargetInstances(TargetInstance... targetInstances)
Identifies whether this instance type is the AWS default recommendation.
|
public List<TargetInstance> getTargetInstances()
Identifies whether this instance type is the AWS default recommendation.
public void setTargetInstances(Collection<TargetInstance> targetInstances)
Identifies whether this instance type is the AWS default recommendation.
targetInstances
- Identifies whether this instance type is the AWS default recommendation.public ModifyRecommendationDetail withTargetInstances(TargetInstance... targetInstances)
Identifies whether this instance type is the AWS 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
- Identifies whether this instance type is the AWS default recommendation.public ModifyRecommendationDetail withTargetInstances(Collection<TargetInstance> targetInstances)
Identifies whether this instance type is the AWS default recommendation.
targetInstances
- Identifies whether this instance type is the AWS 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.