Class ProfilingGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.codeguruprofiler.ProfilingGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProfilingGroupProps>
- Enclosing interface:
ProfilingGroupProps
@Stability(Stable)
public static final class ProfilingGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ProfilingGroupProps>
A builder for
ProfilingGroupProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.computePlatform
(ComputePlatform computePlatform) Sets the value ofProfilingGroupProps.getComputePlatform()
profilingGroupName
(String profilingGroupName) Sets the value ofProfilingGroupProps.getProfilingGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computePlatform
@Stability(Stable) public ProfilingGroupProps.Builder computePlatform(ComputePlatform computePlatform) Sets the value ofProfilingGroupProps.getComputePlatform()
- Parameters:
computePlatform
- The compute platform of the profiling group.- Returns:
this
-
profilingGroupName
Sets the value ofProfilingGroupProps.getProfilingGroupName()
- Parameters:
profilingGroupName
- A name for the profiling group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProfilingGroupProps>
- Returns:
- a new instance of
ProfilingGroupProps
- Throws:
NullPointerException
- if any required attribute was not provided
-