Class CfnProfilingGroup.AgentPermissionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codeguruprofiler.CfnProfilingGroup.AgentPermissionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProfilingGroup.AgentPermissionsProperty>
- Enclosing interface:
CfnProfilingGroup.AgentPermissionsProperty
@Stability(Stable)
public static final class CfnProfilingGroup.AgentPermissionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProfilingGroup.AgentPermissionsProperty>
A builder for
CfnProfilingGroup.AgentPermissionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.principals
(List<String> principals) Sets the value ofCfnProfilingGroup.AgentPermissionsProperty.getPrincipals()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
principals
@Stability(Stable) public CfnProfilingGroup.AgentPermissionsProperty.Builder principals(List<String> principals) Sets the value ofCfnProfilingGroup.AgentPermissionsProperty.getPrincipals()
- Parameters:
principals
- The principals for the agent permissions. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProfilingGroup.AgentPermissionsProperty>
- Returns:
- a new instance of
CfnProfilingGroup.AgentPermissionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-