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 create the logging configuration for.
This field is required.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 create the logging configuration for.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace to create the logging configuration for.
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 CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this API.
This field is required.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 CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this API.
sourcepub fn get_log_group_arn(&self) -> &Option<String>
pub fn get_log_group_arn(&self) -> &Option<String>
The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this API.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn build(self) -> Result<CreateLoggingConfigurationInput, BuildError>
pub fn build(self) -> Result<CreateLoggingConfigurationInput, BuildError>
Consumes the builder and constructs a CreateLoggingConfigurationInput
.
source§impl CreateLoggingConfigurationInputBuilder
impl CreateLoggingConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLoggingConfigurationOutput, SdkError<CreateLoggingConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLoggingConfigurationOutput, SdkError<CreateLoggingConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLoggingConfigurationInputBuilder
impl Clone for CreateLoggingConfigurationInputBuilder
source§fn clone(&self) -> CreateLoggingConfigurationInputBuilder
fn clone(&self) -> CreateLoggingConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLoggingConfigurationInputBuilder
impl Default for CreateLoggingConfigurationInputBuilder
source§fn default() -> CreateLoggingConfigurationInputBuilder
fn default() -> CreateLoggingConfigurationInputBuilder
source§impl PartialEq for CreateLoggingConfigurationInputBuilder
impl PartialEq for CreateLoggingConfigurationInputBuilder
source§fn eq(&self, other: &CreateLoggingConfigurationInputBuilder) -> bool
fn eq(&self, other: &CreateLoggingConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.