Struct aws_sdk_codeguruprofiler::operation::create_profiling_group::builders::CreateProfilingGroupFluentBuilder
source · pub struct CreateProfilingGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateProfilingGroup
.
Creates a profiling group.
Implementations§
source§impl CreateProfilingGroupFluentBuilder
impl CreateProfilingGroupFluentBuilder
sourcepub fn as_input(&self) -> &CreateProfilingGroupInputBuilder
pub fn as_input(&self) -> &CreateProfilingGroupInputBuilder
Access the CreateProfilingGroup as a reference.
sourcepub async fn send(
self
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError, HttpResponse>>
pub async fn send( self ) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError, 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<CreateProfilingGroupOutput, CreateProfilingGroupError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateProfilingGroupOutput, CreateProfilingGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group to create.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group to create.
sourcepub fn get_profiling_group_name(&self) -> &Option<String>
pub fn get_profiling_group_name(&self) -> &Option<String>
The name of the profiling group to create.
sourcepub fn compute_platform(self, input: ComputePlatform) -> Self
pub fn compute_platform(self, input: ComputePlatform) -> Self
The compute platform of the profiling group. Use AWSLambda
if your application runs on AWS Lambda. Use Default
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default
is used.
sourcepub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
pub fn set_compute_platform(self, input: Option<ComputePlatform>) -> Self
The compute platform of the profiling group. Use AWSLambda
if your application runs on AWS Lambda. Use Default
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default
is used.
sourcepub fn get_compute_platform(&self) -> &Option<ComputePlatform>
pub fn get_compute_platform(&self) -> &Option<ComputePlatform>
The compute platform of the profiling group. Use AWSLambda
if your application runs on AWS Lambda. Use Default
if your application runs on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different platform. If not specified, Default
is used.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
sourcepub fn agent_orchestration_config(self, input: AgentOrchestrationConfig) -> Self
pub fn agent_orchestration_config(self, input: AgentOrchestrationConfig) -> Self
Specifies whether profiling is enabled or disabled for the created profiling group.
sourcepub fn set_agent_orchestration_config(
self,
input: Option<AgentOrchestrationConfig>
) -> Self
pub fn set_agent_orchestration_config( self, input: Option<AgentOrchestrationConfig> ) -> Self
Specifies whether profiling is enabled or disabled for the created profiling group.
sourcepub fn get_agent_orchestration_config(
&self
) -> &Option<AgentOrchestrationConfig>
pub fn get_agent_orchestration_config( &self ) -> &Option<AgentOrchestrationConfig>
Specifies whether profiling is enabled or disabled for the created profiling group.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A list of tags to add to the created profiling group.
A list of tags to add to the created profiling group.
A list of tags to add to the created profiling group.
Trait Implementations§
source§impl Clone for CreateProfilingGroupFluentBuilder
impl Clone for CreateProfilingGroupFluentBuilder
source§fn clone(&self) -> CreateProfilingGroupFluentBuilder
fn clone(&self) -> CreateProfilingGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateProfilingGroupFluentBuilder
impl !RefUnwindSafe for CreateProfilingGroupFluentBuilder
impl Send for CreateProfilingGroupFluentBuilder
impl Sync for CreateProfilingGroupFluentBuilder
impl Unpin for CreateProfilingGroupFluentBuilder
impl !UnwindSafe for CreateProfilingGroupFluentBuilder
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