Struct aws_sdk_securityhub::types::builders::AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder { /* private fields */ }
Expand description
Implementations§
source§impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
sourcepub fn log_driver(self, input: impl Into<String>) -> Self
pub fn log_driver(self, input: impl Into<String>) -> Self
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
sourcepub fn set_log_driver(self, input: Option<String>) -> Self
pub fn set_log_driver(self, input: Option<String>) -> Self
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
sourcepub fn get_log_driver(&self) -> &Option<String>
pub fn get_log_driver(&self) -> &Option<String>
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
sourcepub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to options
.
To override the contents of this collection use set_options
.
The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
sourcepub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
sourcepub fn get_options(&self) -> &Option<HashMap<String, String>>
pub fn get_options(&self) -> &Option<HashMap<String, String>>
The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
sourcepub fn secret_options(
self,
input: AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails
) -> Self
pub fn secret_options( self, input: AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails ) -> Self
Appends an item to secret_options
.
To override the contents of this collection use set_secret_options
.
The secrets to pass to the log configuration.
sourcepub fn set_secret_options(
self,
input: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>>
) -> Self
pub fn set_secret_options( self, input: Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>> ) -> Self
The secrets to pass to the log configuration.
sourcepub fn get_secret_options(
&self
) -> &Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>>
pub fn get_secret_options( &self ) -> &Option<Vec<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>>
The secrets to pass to the log configuration.
sourcepub fn build(
self
) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
pub fn build( self ) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
Consumes the builder and constructs a AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl Clone for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
source§fn clone(
&self
) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
fn clone( &self ) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl Default for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
source§fn default(
) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
fn default( ) -> AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
source§impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl PartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
) -> bool
fn eq( &self, other: &AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl RefUnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl Send for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl Sync for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl Unpin for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
impl UnwindSafe for AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetailsBuilder
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