@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalLimit extends Object implements Serializable, Cloneable, StructuredPojo
List of limits that are specific to a given instance type.
Constructor and Description |
---|
AdditionalLimit() |
Modifier and Type | Method and Description |
---|---|
AdditionalLimit |
clone() |
boolean |
equals(Object obj) |
String |
getLimitName()
|
List<String> |
getLimitValues()
The values of the additional instance type limits.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLimitName(String limitName)
|
void |
setLimitValues(Collection<String> limitValues)
The values of the additional instance type limits.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalLimit |
withLimitName(String limitName)
|
AdditionalLimit |
withLimitValues(Collection<String> limitValues)
The values of the additional instance type limits.
|
AdditionalLimit |
withLimitValues(String... limitValues)
The values of the additional instance type limits.
|
public void setLimitName(String limitName)
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the
maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies
the maximum number of data nodes of a given instance type can exist without a master node governing them.
limitName
-
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies
the maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and
specifies the maximum number of data nodes of a given instance type can exist without a master node
governing them.
public String getLimitName()
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the
maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies
the maximum number of data nodes of a given instance type can exist without a master node governing them.
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and
specifies the maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and
specifies the maximum number of data nodes of a given instance type can exist without a master node
governing them.
public AdditionalLimit withLimitName(String limitName)
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies the
maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and specifies
the maximum number of data nodes of a given instance type can exist without a master node governing them.
limitName
-
MaximumNumberOfDataNodesSupported
- This attribute only applies to master nodes and specifies
the maximum number of data nodes of a given instance type a master node can support.
MaximumNumberOfDataNodesWithoutMasterNode
- This attribute only applies to data nodes and
specifies the maximum number of data nodes of a given instance type can exist without a master node
governing them.
public List<String> getLimitValues()
The values of the additional instance type limits.
public void setLimitValues(Collection<String> limitValues)
The values of the additional instance type limits.
limitValues
- The values of the additional instance type limits.public AdditionalLimit withLimitValues(String... limitValues)
The values of the additional instance type limits.
NOTE: This method appends the values to the existing list (if any). Use
setLimitValues(java.util.Collection)
or withLimitValues(java.util.Collection)
if you want to
override the existing values.
limitValues
- The values of the additional instance type limits.public AdditionalLimit withLimitValues(Collection<String> limitValues)
The values of the additional instance type limits.
limitValues
- The values of the additional instance type limits.public String toString()
toString
in class Object
Object.toString()
public AdditionalLimit clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.