Class ProfilingGroup.Builder

java.lang.Object
software.amazon.awscdk.services.codeguruprofiler.ProfilingGroup.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<ProfilingGroup>
Enclosing class:
ProfilingGroup

@Stability(Stable) public static final class ProfilingGroup.Builder extends Object implements software.amazon.jsii.Builder<ProfilingGroup>
A fluent builder for ProfilingGroup.
  • Method Details

    • create

      @Stability(Stable) public static ProfilingGroup.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of ProfilingGroup.Builder.
    • computePlatform

      @Stability(Stable) public ProfilingGroup.Builder computePlatform(ComputePlatform computePlatform)
      The compute platform of the profiling group.

      Default: ComputePlatform.DEFAULT

      Parameters:
      computePlatform - The compute platform of the profiling group. This parameter is required.
      Returns:
      this
    • profilingGroupName

      @Stability(Stable) public ProfilingGroup.Builder profilingGroupName(String profilingGroupName)
      A name for the profiling group.

      Default: - automatically generated name.

      Parameters:
      profilingGroupName - A name for the profiling group. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public ProfilingGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<ProfilingGroup>
      Returns:
      a newly built instance of ProfilingGroup.