@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeRecommendationOption extends Object implements Serializable, Cloneable, StructuredPojo
Describes a recommendation option for an Amazon Elastic Block Store (Amazon EBS) instance.
Constructor and Description |
---|
VolumeRecommendationOption() |
Modifier and Type | Method and Description |
---|---|
VolumeRecommendationOption |
clone() |
boolean |
equals(Object obj) |
VolumeConfiguration |
getConfiguration()
An array of objects that describe a volume configuration.
|
Double |
getPerformanceRisk()
The performance risk of the volume recommendation option.
|
Integer |
getRank()
The rank of the volume recommendation option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(VolumeConfiguration configuration)
An array of objects that describe a volume configuration.
|
void |
setPerformanceRisk(Double performanceRisk)
The performance risk of the volume recommendation option.
|
void |
setRank(Integer rank)
The rank of the volume recommendation option.
|
String |
toString()
Returns a string representation of this object.
|
VolumeRecommendationOption |
withConfiguration(VolumeConfiguration configuration)
An array of objects that describe a volume configuration.
|
VolumeRecommendationOption |
withPerformanceRisk(Double performanceRisk)
The performance risk of the volume recommendation option.
|
VolumeRecommendationOption |
withRank(Integer rank)
The rank of the volume recommendation option.
|
public void setConfiguration(VolumeConfiguration configuration)
An array of objects that describe a volume configuration.
configuration
- An array of objects that describe a volume configuration.public VolumeConfiguration getConfiguration()
An array of objects that describe a volume configuration.
public VolumeRecommendationOption withConfiguration(VolumeConfiguration configuration)
An array of objects that describe a volume configuration.
configuration
- An array of objects that describe a volume configuration.public void setPerformanceRisk(Double performanceRisk)
The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
performanceRisk
- The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
public Double getPerformanceRisk()
The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
public VolumeRecommendationOption withPerformanceRisk(Double performanceRisk)
The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
performanceRisk
- The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
public void setRank(Integer rank)
The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
public Integer getRank()
The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
The top recommendation option is ranked as 1
.
public VolumeRecommendationOption withRank(Integer rank)
The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the volume recommendation option.
The top recommendation option is ranked as 1
.
public String toString()
toString
in class Object
Object.toString()
public VolumeRecommendationOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.