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 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 the AgentOrchestrationConfig.Builder avoiding the need to create one manually via AgentOrchestrationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentOrchestrationConfig(AgentOrchestrationConfig).

      Parameters:
      agentOrchestrationConfig - a consumer that will call methods on AgentOrchestrationConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • computePlatform

      CreateProfilingGroupRequest.Builder computePlatform(ComputePlatform 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.