@Generated(value="software.amazon.awssdk:codegen") public final class ProcessorFeature extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature>
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:
CreateDBInstance
ModifyDBInstance
RestoreDBInstanceFromDBSnapshot
RestoreDBInstanceFromS3
RestoreDBInstanceToPointInTime
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:
DescribeDBInstances
DescribeDBSnapshots
DescribeValidDBInstanceModifications
If you call DescribeDBInstances
, ProcessorFeature
returns non-null values only if the
following conditions are met:
You are accessing an Oracle DB instance.
Your Oracle DB instance class supports configuring the number of CPU cores and threads per core.
The current number CPU cores and threads is set to a non-default value.
For more information, see Configuring the Processor of the DB Instance Class in the Amazon RDS User Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
ProcessorFeature.Builder |
Modifier and Type | Method and Description |
---|---|
static ProcessorFeature.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the processor feature.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProcessorFeature.Builder> |
serializableBuilderClass() |
ProcessorFeature.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of a processor feature name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String name()
The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
coreCount
and threadsPerCore
.public final String value()
The value of a processor feature name.
public ProcessorFeature.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature>
public static ProcessorFeature.Builder builder()
public static Class<? extends ProcessorFeature.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.