Interface CreateProfilingGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeGuruProfilerRequest.Builder
,CopyableBuilder<CreateProfilingGroupRequest.Builder,
,CreateProfilingGroupRequest> SdkBuilder<CreateProfilingGroupRequest.Builder,
,CreateProfilingGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateProfilingGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentOrchestrationConfig
(Consumer<AgentOrchestrationConfig.Builder> agentOrchestrationConfig) Specifies whether profiling is enabled or disabled for the created profiling group.agentOrchestrationConfig
(AgentOrchestrationConfig agentOrchestrationConfig) Specifies whether profiling is enabled or disabled for the created profiling group.clientToken
(String clientToken) Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.computePlatform
(String computePlatform) The compute platform of the profiling group.computePlatform
(ComputePlatform computePlatform) The compute platform of the profiling group.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.profilingGroupName
(String profilingGroupName) The name of the profiling group to create.A list of tags to add to the created profiling group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
agentOrchestrationConfig
CreateProfilingGroupRequest.Builder agentOrchestrationConfig(AgentOrchestrationConfig agentOrchestrationConfig) Specifies whether profiling is enabled or disabled for the created profiling group.
- Parameters:
agentOrchestrationConfig
- Specifies whether profiling is enabled or disabled for the created profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentOrchestrationConfig
default CreateProfilingGroupRequest.Builder agentOrchestrationConfig(Consumer<AgentOrchestrationConfig.Builder> agentOrchestrationConfig) Specifies whether profiling is enabled or disabled for the created profiling group.
This is a convenience method that creates an instance of theAgentOrchestrationConfig.Builder
avoiding the need to create one manually viaAgentOrchestrationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentOrchestrationConfig(AgentOrchestrationConfig)
.- Parameters:
agentOrchestrationConfig
- a consumer that will call methods onAgentOrchestrationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.
- Parameters:
clientToken
- Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental creation of duplicate profiling groups if there are failures and retries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computePlatform
The compute platform of the profiling group. Use
AWSLambda
if your application runs on AWS Lambda. UseDefault
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.- Parameters:
computePlatform
- The compute platform of the profiling group. UseAWSLambda
if your application runs on AWS Lambda. UseDefault
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computePlatform
The compute platform of the profiling group. Use
AWSLambda
if your application runs on AWS Lambda. UseDefault
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.- Parameters:
computePlatform
- The compute platform of the profiling group. UseAWSLambda
if your application runs on AWS Lambda. UseDefault
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profilingGroupName
The name of the profiling group to create.
- Parameters:
profilingGroupName
- The name of the profiling group to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to add to the created profiling group.
- Parameters:
tags
- A list of tags to add to the created profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProfilingGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProfilingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-