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