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