@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StrategySummary extends Object implements Serializable, Cloneable, StructuredPojo
Object containing the summary of the strategy recommendations.
Constructor and Description |
---|
StrategySummary() |
Modifier and Type | Method and Description |
---|---|
StrategySummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The count of recommendations per strategy.
|
String |
getStrategy()
The name of recommended strategy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
The count of recommendations per strategy.
|
void |
setStrategy(String strategy)
The name of recommended strategy.
|
String |
toString()
Returns a string representation of this object.
|
StrategySummary |
withCount(Integer count)
The count of recommendations per strategy.
|
StrategySummary |
withStrategy(Strategy strategy)
The name of recommended strategy.
|
StrategySummary |
withStrategy(String strategy)
The name of recommended strategy.
|
public void setCount(Integer count)
The count of recommendations per strategy.
count
- The count of recommendations per strategy.public Integer getCount()
The count of recommendations per strategy.
public StrategySummary withCount(Integer count)
The count of recommendations per strategy.
count
- The count of recommendations per strategy.public void setStrategy(String strategy)
The name of recommended strategy.
strategy
- The name of recommended strategy.Strategy
public String getStrategy()
The name of recommended strategy.
Strategy
public StrategySummary withStrategy(String strategy)
The name of recommended strategy.
strategy
- The name of recommended strategy.Strategy
public StrategySummary withStrategy(Strategy strategy)
The name of recommended strategy.
strategy
- The name of recommended strategy.Strategy
public String toString()
toString
in class Object
Object.toString()
public StrategySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.