Interface CreateProfilingGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<CreateProfilingGroupRequest.Builder,CreateProfilingGroupRequest>,SdkBuilder<CreateProfilingGroupRequest.Builder,CreateProfilingGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateProfilingGroupRequest
public static interface CreateProfilingGroupRequest.Builder extends CodeGuruProfilerRequest.Builder, SdkPojo, CopyableBuilder<CreateProfilingGroupRequest.Builder,CreateProfilingGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateProfilingGroupRequest.BuilderagentOrchestrationConfig(Consumer<AgentOrchestrationConfig.Builder> agentOrchestrationConfig)Specifies whether profiling is enabled or disabled for the created profiling group.CreateProfilingGroupRequest.BuilderagentOrchestrationConfig(AgentOrchestrationConfig agentOrchestrationConfig)Specifies whether profiling is enabled or disabled for the created profiling group.CreateProfilingGroupRequest.BuilderclientToken(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.CreateProfilingGroupRequest.BuildercomputePlatform(String computePlatform)The compute platform of the profiling group.CreateProfilingGroupRequest.BuildercomputePlatform(ComputePlatform computePlatform)The compute platform of the profiling group.CreateProfilingGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProfilingGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateProfilingGroupRequest.BuilderprofilingGroupName(String profilingGroupName)The name of the profiling group to create.CreateProfilingGroupRequest.Buildertags(Map<String,String> tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
agentOrchestrationConfig(AgentOrchestrationConfig)
-
clientToken
CreateProfilingGroupRequest.Builder 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.
- 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
CreateProfilingGroupRequest.Builder computePlatform(String 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,ComputePlatform
-
computePlatform
CreateProfilingGroupRequest.Builder computePlatform(ComputePlatform 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,ComputePlatform
-
profilingGroupName
CreateProfilingGroupRequest.Builder profilingGroupName(String 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
CreateProfilingGroupRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProfilingGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-