@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProcessorFeature extends Object implements Serializable, Cloneable
Contains the processor features of a DB instance class.
To specify the number of CPU cores, use the coreCount
feature name for the Name
parameter.
To specify the number of threads per core, use the threadsPerCore
feature name for the Name
parameter.
You can set the processor features of the DB instance class for a DB instance when you call one of the following actions:
You can view the valid processor values for a particular instance class by calling the
DescribeOrderableDBInstanceOptions action and specifying the instance class for the
DBInstanceClass
parameter.
In addition, you can use the following actions for DB instance class processor information:
For more information, see Configuring the Processor of the DB Instance Class in the Amazon RDS User Guide.
Constructor and Description |
---|
ProcessorFeature() |
Modifier and Type | Method and Description |
---|---|
ProcessorFeature |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the processor feature.
|
String |
getValue()
The value of a processor feature name.
|
int |
hashCode() |
void |
setName(String name)
The name of the processor feature.
|
void |
setValue(String value)
The value of a processor feature name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ProcessorFeature |
withName(String name)
The name of the processor feature.
|
ProcessorFeature |
withValue(String value)
The value of a processor feature name.
|
public void setName(String name)
The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
name
- The name of the processor feature. Valid names are coreCount
and threadsPerCore
.public String getName()
The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
coreCount
and threadsPerCore
.public ProcessorFeature withName(String name)
The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
name
- The name of the processor feature. Valid names are coreCount
and threadsPerCore
.public void setValue(String value)
The value of a processor feature name.
value
- The value of a processor feature name.public String getValue()
The value of a processor feature name.
public ProcessorFeature withValue(String value)
The value of a processor feature name.
value
- The value of a processor feature name.public String toString()
toString
in class Object
Object.toString()
public ProcessorFeature clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.