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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAgentOrchestrationConfig.builder().When the
Consumercompletes,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
AWSLambdaif your application runs on AWS Lambda. UseDefaultif 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,Defaultis used.- Parameters:
computePlatform- The compute platform of the profiling group. UseAWSLambdaif your application runs on AWS Lambda. UseDefaultif 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,Defaultis 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
AWSLambdaif your application runs on AWS Lambda. UseDefaultif 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,Defaultis used.- Parameters:
computePlatform- The compute platform of the profiling group. UseAWSLambdaif your application runs on AWS Lambda. UseDefaultif 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,Defaultis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-