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 Summary
Modifier and TypeMethodDescriptionbuild()
computePlatform
(ComputePlatform computePlatform) The compute platform of the profiling group.static ProfilingGroup.Builder
profilingGroupName
(String profilingGroupName) A name for the profiling group.
-
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProfilingGroup>
- Returns:
- a newly built instance of
ProfilingGroup
.
-