Struct aws_sdk_amp::operation::update_logging_configuration::builders::UpdateLoggingConfigurationInputBuilder
source · #[non_exhaustive]pub struct UpdateLoggingConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateLoggingConfigurationInput
.
Implementations§
source§impl UpdateLoggingConfigurationInputBuilder
impl UpdateLoggingConfigurationInputBuilder
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. 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 vend logs to.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
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. 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 CW log group to which the vended log data will be published.
sourcepub fn get_log_group_arn(&self) -> &Option<String>
pub fn get_log_group_arn(&self) -> &Option<String>
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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
sourcepub fn build(self) -> Result<UpdateLoggingConfigurationInput, BuildError>
pub fn build(self) -> Result<UpdateLoggingConfigurationInput, BuildError>
Consumes the builder and constructs a UpdateLoggingConfigurationInput
.
source§impl UpdateLoggingConfigurationInputBuilder
impl UpdateLoggingConfigurationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateLoggingConfigurationOutput, SdkError<UpdateLoggingConfigurationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateLoggingConfigurationOutput, SdkError<UpdateLoggingConfigurationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateLoggingConfigurationInputBuilder
impl Clone for UpdateLoggingConfigurationInputBuilder
source§fn clone(&self) -> UpdateLoggingConfigurationInputBuilder
fn clone(&self) -> UpdateLoggingConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateLoggingConfigurationInputBuilder
impl Default for UpdateLoggingConfigurationInputBuilder
source§fn default() -> UpdateLoggingConfigurationInputBuilder
fn default() -> UpdateLoggingConfigurationInputBuilder
source§impl PartialEq for UpdateLoggingConfigurationInputBuilder
impl PartialEq for UpdateLoggingConfigurationInputBuilder
source§fn eq(&self, other: &UpdateLoggingConfigurationInputBuilder) -> bool
fn eq(&self, other: &UpdateLoggingConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.