Class ProcessorFeature
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.ProcessorFeature
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature>
@Generated("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
coreCountfeature name for theNameparameter. To specify the number of threads per core, use thethreadsPerCorefeature name for theNameparameter.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
DescribeOrderableDBInstanceOptionsaction and specifying the instance class for theDBInstanceClassparameter.In addition, you can use the following actions for DB instance class processor information:
-
DescribeDBInstances -
DescribeDBSnapshots -
DescribeValidDBInstanceModifications
If you call
DescribeDBInstances,ProcessorFeaturereturns 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 for a DB instance class in RDS for Oracle in the Amazon RDS User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProcessorFeature.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProcessorFeature.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the processor feature.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProcessorFeature.Builder>serializableBuilderClass()ProcessorFeature.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of a processor feature.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the processor feature. Valid names are
coreCountandthreadsPerCore.- Returns:
- The name of the processor feature. Valid names are
coreCountandthreadsPerCore.
-
value
public final String value()
The value of a processor feature.
- Returns:
- The value of a processor feature.
-
toBuilder
public ProcessorFeature.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProcessorFeature.Builder,ProcessorFeature>
-
builder
public static ProcessorFeature.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProcessorFeature.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-