Struct aws_sdk_rds::types::ProcessorFeature
source · #[non_exhaustive]pub struct ProcessorFeature {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
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.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the processor feature. Valid names are coreCount
and threadsPerCore
.
value: Option<String>
The value of a processor feature name.
Implementations§
source§impl ProcessorFeature
impl ProcessorFeature
sourcepub fn builder() -> ProcessorFeatureBuilder
pub fn builder() -> ProcessorFeatureBuilder
Creates a new builder-style object to manufacture ProcessorFeature
.
Trait Implementations§
source§impl Clone for ProcessorFeature
impl Clone for ProcessorFeature
source§fn clone(&self) -> ProcessorFeature
fn clone(&self) -> ProcessorFeature
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProcessorFeature
impl Debug for ProcessorFeature
source§impl PartialEq for ProcessorFeature
impl PartialEq for ProcessorFeature
source§fn eq(&self, other: &ProcessorFeature) -> bool
fn eq(&self, other: &ProcessorFeature) -> bool
self
and other
values to be equal, and is used
by ==
.