@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ElastiCacheInstanceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the Amazon ElastiCache reservations that Amazon Web Services recommends that you purchase.
Constructor and Description |
---|
ElastiCacheInstanceDetails() |
Modifier and Type | Method and Description |
---|---|
ElastiCacheInstanceDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
|
String |
getFamily()
The instance family of the recommended reservation.
|
String |
getNodeType()
The type of node that Amazon Web Services recommends.
|
String |
getProductDescription()
The description of the recommended reservation.
|
String |
getRegion()
The Amazon Web Services Region of the recommended reservation.
|
Boolean |
getSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
|
int |
hashCode() |
Boolean |
isCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
|
Boolean |
isSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current generation instance.
|
void |
setFamily(String family)
The instance family of the recommended reservation.
|
void |
setNodeType(String nodeType)
The type of node that Amazon Web Services recommends.
|
void |
setProductDescription(String productDescription)
The description of the recommended reservation.
|
void |
setRegion(String region)
The Amazon Web Services Region of the recommended reservation.
|
void |
setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
|
String |
toString()
Returns a string representation of this object.
|
ElastiCacheInstanceDetails |
withCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current generation instance.
|
ElastiCacheInstanceDetails |
withFamily(String family)
The instance family of the recommended reservation.
|
ElastiCacheInstanceDetails |
withNodeType(String nodeType)
The type of node that Amazon Web Services recommends.
|
ElastiCacheInstanceDetails |
withProductDescription(String productDescription)
The description of the recommended reservation.
|
ElastiCacheInstanceDetails |
withRegion(String region)
The Amazon Web Services Region of the recommended reservation.
|
ElastiCacheInstanceDetails |
withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
|
public void setFamily(String family)
The instance family of the recommended reservation.
family
- The instance family of the recommended reservation.public String getFamily()
The instance family of the recommended reservation.
public ElastiCacheInstanceDetails withFamily(String family)
The instance family of the recommended reservation.
family
- The instance family of the recommended reservation.public void setNodeType(String nodeType)
The type of node that Amazon Web Services recommends.
nodeType
- The type of node that Amazon Web Services recommends.public String getNodeType()
The type of node that Amazon Web Services recommends.
public ElastiCacheInstanceDetails withNodeType(String nodeType)
The type of node that Amazon Web Services recommends.
nodeType
- The type of node that Amazon Web Services recommends.public void setRegion(String region)
The Amazon Web Services Region of the recommended reservation.
region
- The Amazon Web Services Region of the recommended reservation.public String getRegion()
The Amazon Web Services Region of the recommended reservation.
public ElastiCacheInstanceDetails withRegion(String region)
The Amazon Web Services Region of the recommended reservation.
region
- The Amazon Web Services Region of the recommended reservation.public void setProductDescription(String productDescription)
The description of the recommended reservation.
productDescription
- The description of the recommended reservation.public String getProductDescription()
The description of the recommended reservation.
public ElastiCacheInstanceDetails withProductDescription(String productDescription)
The description of the recommended reservation.
productDescription
- The description of the recommended reservation.public void setCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current generation instance.
currentGeneration
- Determines whether the recommendation is for a current generation instance.public Boolean getCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
public ElastiCacheInstanceDetails withCurrentGeneration(Boolean currentGeneration)
Determines whether the recommendation is for a current generation instance.
currentGeneration
- Determines whether the recommendation is for a current generation instance.public Boolean isCurrentGeneration()
Determines whether the recommendation is for a current generation instance.
public void setSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
sizeFlexEligible
- Determines whether the recommended reservation is size flexible.public Boolean getSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
public ElastiCacheInstanceDetails withSizeFlexEligible(Boolean sizeFlexEligible)
Determines whether the recommended reservation is size flexible.
sizeFlexEligible
- Determines whether the recommended reservation is size flexible.public Boolean isSizeFlexEligible()
Determines whether the recommended reservation is size flexible.
public String toString()
toString
in class Object
Object.toString()
public ElastiCacheInstanceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.