Struct aws_sdk_codeguruprofiler::operation::create_profiling_group::builders::CreateProfilingGroupInputBuilder
source · #[non_exhaustive]pub struct CreateProfilingGroupInputBuilder { /* private fields */ }
Expand description
A builder for CreateProfilingGroupInput
.
Implementations§
source§impl CreateProfilingGroupInputBuilder
impl CreateProfilingGroupInputBuilder
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.
sourcepub fn build(self) -> Result<CreateProfilingGroupInput, BuildError>
pub fn build(self) -> Result<CreateProfilingGroupInput, BuildError>
Consumes the builder and constructs a CreateProfilingGroupInput
.
source§impl CreateProfilingGroupInputBuilder
impl CreateProfilingGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateProfilingGroupOutput, SdkError<CreateProfilingGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateProfilingGroupInputBuilder
impl Clone for CreateProfilingGroupInputBuilder
source§fn clone(&self) -> CreateProfilingGroupInputBuilder
fn clone(&self) -> CreateProfilingGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateProfilingGroupInputBuilder
impl Default for CreateProfilingGroupInputBuilder
source§fn default() -> CreateProfilingGroupInputBuilder
fn default() -> CreateProfilingGroupInputBuilder
source§impl PartialEq<CreateProfilingGroupInputBuilder> for CreateProfilingGroupInputBuilder
impl PartialEq<CreateProfilingGroupInputBuilder> for CreateProfilingGroupInputBuilder
source§fn eq(&self, other: &CreateProfilingGroupInputBuilder) -> bool
fn eq(&self, other: &CreateProfilingGroupInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.