Struct aws_sdk_ecs::types::builders::SystemControlBuilder
source · #[non_exhaustive]pub struct SystemControlBuilder { /* private fields */ }
Expand description
A builder for SystemControl
.
Implementations§
source§impl SystemControlBuilder
impl SystemControlBuilder
sourcepub fn namespace(self, input: impl Into<String>) -> Self
pub fn namespace(self, input: impl Into<String>) -> Self
The namespaced kernel parameter to set a value
for.
sourcepub fn set_namespace(self, input: Option<String>) -> Self
pub fn set_namespace(self, input: Option<String>) -> Self
The namespaced kernel parameter to set a value
for.
sourcepub fn get_namespace(&self) -> &Option<String>
pub fn get_namespace(&self) -> &Option<String>
The namespaced kernel parameter to set a value
for.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The namespaced kernel parameter to set a value
for.
Valid IPC namespace values: "kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"
, and Sysctls
that start with "fs.mqueue.*"
Valid network namespace values: Sysctls
that start with "net.*"
All of these values are supported by Fargate.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The namespaced kernel parameter to set a value
for.
Valid IPC namespace values: "kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"
, and Sysctls
that start with "fs.mqueue.*"
Valid network namespace values: Sysctls
that start with "net.*"
All of these values are supported by Fargate.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The namespaced kernel parameter to set a value
for.
Valid IPC namespace values: "kernel.msgmax" | "kernel.msgmnb" | "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" | "kernel.shmmni" | "kernel.shm_rmid_forced"
, and Sysctls
that start with "fs.mqueue.*"
Valid network namespace values: Sysctls
that start with "net.*"
All of these values are supported by Fargate.
sourcepub fn build(self) -> SystemControl
pub fn build(self) -> SystemControl
Consumes the builder and constructs a SystemControl
.
Trait Implementations§
source§impl Clone for SystemControlBuilder
impl Clone for SystemControlBuilder
source§fn clone(&self) -> SystemControlBuilder
fn clone(&self) -> SystemControlBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SystemControlBuilder
impl Debug for SystemControlBuilder
source§impl Default for SystemControlBuilder
impl Default for SystemControlBuilder
source§fn default() -> SystemControlBuilder
fn default() -> SystemControlBuilder
source§impl PartialEq for SystemControlBuilder
impl PartialEq for SystemControlBuilder
source§fn eq(&self, other: &SystemControlBuilder) -> bool
fn eq(&self, other: &SystemControlBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SystemControlBuilder
Auto Trait Implementations§
impl Freeze for SystemControlBuilder
impl RefUnwindSafe for SystemControlBuilder
impl Send for SystemControlBuilder
impl Sync for SystemControlBuilder
impl Unpin for SystemControlBuilder
impl UnwindSafe for SystemControlBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more