Struct aws_sdk_rds::model::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
sourceimpl ProcessorFeature
impl ProcessorFeature
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProcessorFeature
Trait Implementations
sourceimpl Clone for ProcessorFeature
impl Clone for ProcessorFeature
sourcefn clone(&self) -> ProcessorFeature
fn clone(&self) -> ProcessorFeature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ProcessorFeature
impl Debug for ProcessorFeature
sourceimpl PartialEq<ProcessorFeature> for ProcessorFeature
impl PartialEq<ProcessorFeature> for ProcessorFeature
sourcefn eq(&self, other: &ProcessorFeature) -> bool
fn eq(&self, other: &ProcessorFeature) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ProcessorFeature) -> bool
fn ne(&self, other: &ProcessorFeature) -> bool
This method tests for !=.
impl StructuralPartialEq for ProcessorFeature
Auto Trait Implementations
impl RefUnwindSafe for ProcessorFeature
impl Send for ProcessorFeature
impl Sync for ProcessorFeature
impl Unpin for ProcessorFeature
impl UnwindSafe for ProcessorFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more