Struct aws_sdk_securityhub::types::builders::AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder { /* private fields */ }Expand description
A builder for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
sourcepub fn hard_limit(self, input: i32) -> Self
pub fn hard_limit(self, input: i32) -> Self
The hard limit for the ulimit type.
sourcepub fn set_hard_limit(self, input: Option<i32>) -> Self
pub fn set_hard_limit(self, input: Option<i32>) -> Self
The hard limit for the ulimit type.
sourcepub fn get_hard_limit(&self) -> &Option<i32>
pub fn get_hard_limit(&self) -> &Option<i32>
The hard limit for the ulimit type.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The type of the ulimit. Valid values are as follows:
-
core -
cpu -
data -
fsize -
locks -
memlock -
msgqueue -
nice -
nofile -
nproc -
rss -
rtprio -
rttime -
sigpending -
stack
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The type of the ulimit. Valid values are as follows:
-
core -
cpu -
data -
fsize -
locks -
memlock -
msgqueue -
nice -
nofile -
nproc -
rss -
rtprio -
rttime -
sigpending -
stack
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The type of the ulimit. Valid values are as follows:
-
core -
cpu -
data -
fsize -
locks -
memlock -
msgqueue -
nice -
nofile -
nproc -
rss -
rtprio -
rttime -
sigpending -
stack
sourcepub fn soft_limit(self, input: i32) -> Self
pub fn soft_limit(self, input: i32) -> Self
The soft limit for the ulimit type.
sourcepub fn set_soft_limit(self, input: Option<i32>) -> Self
pub fn set_soft_limit(self, input: Option<i32>) -> Self
The soft limit for the ulimit type.
sourcepub fn get_soft_limit(&self) -> &Option<i32>
pub fn get_soft_limit(&self) -> &Option<i32>
The soft limit for the ulimit type.
sourcepub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails
pub fn build(self) -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails
Consumes the builder and constructs a AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
source§fn clone(&self) -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
fn clone(&self) -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl Default for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
source§fn default() -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
fn default() -> AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
source§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder ) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl Send for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetailsBuilder
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