Class ProfilingGroupReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.codeguruprofiler.ProfilingGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProfilingGroupReference>
- Enclosing interface:
ProfilingGroupReference
@Stability(Stable)
public static final class ProfilingGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ProfilingGroupReference>
A builder for
ProfilingGroupReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.profilingGroupArn(String profilingGroupArn) Sets the value ofProfilingGroupReference.getProfilingGroupArn()profilingGroupName(String profilingGroupName) Sets the value ofProfilingGroupReference.getProfilingGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
profilingGroupArn
@Stability(Stable) public ProfilingGroupReference.Builder profilingGroupArn(String profilingGroupArn) Sets the value ofProfilingGroupReference.getProfilingGroupArn()- Parameters:
profilingGroupArn- The ARN of the ProfilingGroup resource. This parameter is required.- Returns:
this
-
profilingGroupName
@Stability(Stable) public ProfilingGroupReference.Builder profilingGroupName(String profilingGroupName) Sets the value ofProfilingGroupReference.getProfilingGroupName()- Parameters:
profilingGroupName- The ProfilingGroupName of the ProfilingGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProfilingGroupReference>- Returns:
- a new instance of
ProfilingGroupReference - Throws:
NullPointerException- if any required attribute was not provided
-