@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UsageMetricBasis extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the performance metrics to use for the server that is used for recommendations.
Constructor and Description |
---|
UsageMetricBasis() |
Modifier and Type | Method and Description |
---|---|
UsageMetricBasis |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A utilization metric that is used by the recommendations.
|
Double |
getPercentageAdjust()
Specifies the percentage of the specified utilization metric that is used by the recommendations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
A utilization metric that is used by the recommendations.
|
void |
setPercentageAdjust(Double percentageAdjust)
Specifies the percentage of the specified utilization metric that is used by the recommendations.
|
String |
toString()
Returns a string representation of this object.
|
UsageMetricBasis |
withName(String name)
A utilization metric that is used by the recommendations.
|
UsageMetricBasis |
withPercentageAdjust(Double percentageAdjust)
Specifies the percentage of the specified utilization metric that is used by the recommendations.
|
public void setName(String name)
A utilization metric that is used by the recommendations.
name
- A utilization metric that is used by the recommendations.public String getName()
A utilization metric that is used by the recommendations.
public UsageMetricBasis withName(String name)
A utilization metric that is used by the recommendations.
name
- A utilization metric that is used by the recommendations.public void setPercentageAdjust(Double percentageAdjust)
Specifies the percentage of the specified utilization metric that is used by the recommendations.
percentageAdjust
- Specifies the percentage of the specified utilization metric that is used by the recommendations.public Double getPercentageAdjust()
Specifies the percentage of the specified utilization metric that is used by the recommendations.
public UsageMetricBasis withPercentageAdjust(Double percentageAdjust)
Specifies the percentage of the specified utilization metric that is used by the recommendations.
percentageAdjust
- Specifies the percentage of the specified utilization metric that is used by the recommendations.public String toString()
toString
in class Object
Object.toString()
public UsageMetricBasis clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.