Struct aws_sdk_applicationinsights::operation::add_workload::builders::AddWorkloadFluentBuilder
source · pub struct AddWorkloadFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AddWorkload
.
Adds a workload to a component. Each component can have at most five workloads.
Implementations§
source§impl AddWorkloadFluentBuilder
impl AddWorkloadFluentBuilder
sourcepub fn as_input(&self) -> &AddWorkloadInputBuilder
pub fn as_input(&self) -> &AddWorkloadInputBuilder
Access the AddWorkload as a reference.
sourcepub async fn send(
self
) -> Result<AddWorkloadOutput, SdkError<AddWorkloadError, HttpResponse>>
pub async fn send( self ) -> Result<AddWorkloadOutput, SdkError<AddWorkloadError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AddWorkloadOutput, AddWorkloadError, Self>
pub fn customize( self ) -> CustomizableOperation<AddWorkloadOutput, AddWorkloadError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn resource_group_name(self, input: impl Into<String>) -> Self
pub fn resource_group_name(self, input: impl Into<String>) -> Self
The name of the resource group.
sourcepub fn set_resource_group_name(self, input: Option<String>) -> Self
pub fn set_resource_group_name(self, input: Option<String>) -> Self
The name of the resource group.
sourcepub fn get_resource_group_name(&self) -> &Option<String>
pub fn get_resource_group_name(&self) -> &Option<String>
The name of the resource group.
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component.
sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
The name of the component.
sourcepub fn workload_configuration(self, input: WorkloadConfiguration) -> Self
pub fn workload_configuration(self, input: WorkloadConfiguration) -> Self
The configuration settings of the workload. The value is the escaped JSON of the configuration.
sourcepub fn set_workload_configuration(
self,
input: Option<WorkloadConfiguration>
) -> Self
pub fn set_workload_configuration( self, input: Option<WorkloadConfiguration> ) -> Self
The configuration settings of the workload. The value is the escaped JSON of the configuration.
sourcepub fn get_workload_configuration(&self) -> &Option<WorkloadConfiguration>
pub fn get_workload_configuration(&self) -> &Option<WorkloadConfiguration>
The configuration settings of the workload. The value is the escaped JSON of the configuration.
Trait Implementations§
source§impl Clone for AddWorkloadFluentBuilder
impl Clone for AddWorkloadFluentBuilder
source§fn clone(&self) -> AddWorkloadFluentBuilder
fn clone(&self) -> AddWorkloadFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more