Struct aws_sdk_amp::operation::create_logging_configuration::builders::CreateLoggingConfigurationInputBuilder
source · #[non_exhaustive]pub struct CreateLoggingConfigurationInputBuilder { /* private fields */ }Expand description
A builder for CreateLoggingConfigurationInput.
Implementations§
source§impl CreateLoggingConfigurationInputBuilder
impl CreateLoggingConfigurationInputBuilder
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace to vend logs to.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace to vend logs to.
sourcepub fn log_group_arn(self, input: impl Into<String>) -> Self
pub fn log_group_arn(self, input: impl Into<String>) -> Self
The ARN of the CW log group to which the vended log data will be published.
sourcepub fn set_log_group_arn(self, input: Option<String>) -> Self
pub fn set_log_group_arn(self, input: Option<String>) -> Self
The ARN of the CW log group to which the vended log data will be published.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<CreateLoggingConfigurationInput, BuildError>
pub fn build(self) -> Result<CreateLoggingConfigurationInput, BuildError>
Consumes the builder and constructs a CreateLoggingConfigurationInput.
Trait Implementations§
source§impl Clone for CreateLoggingConfigurationInputBuilder
impl Clone for CreateLoggingConfigurationInputBuilder
source§fn clone(&self) -> CreateLoggingConfigurationInputBuilder
fn clone(&self) -> CreateLoggingConfigurationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateLoggingConfigurationInputBuilder
impl Default for CreateLoggingConfigurationInputBuilder
source§fn default() -> CreateLoggingConfigurationInputBuilder
fn default() -> CreateLoggingConfigurationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateLoggingConfigurationInputBuilder> for CreateLoggingConfigurationInputBuilder
impl PartialEq<CreateLoggingConfigurationInputBuilder> for CreateLoggingConfigurationInputBuilder
source§fn eq(&self, other: &CreateLoggingConfigurationInputBuilder) -> bool
fn eq(&self, other: &CreateLoggingConfigurationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.