Interface PutPermissionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<PutPermissionRequest.Builder,PutPermissionRequest>,SdkBuilder<PutPermissionRequest.Builder,PutPermissionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutPermissionRequest
public static interface PutPermissionRequest.Builder extends CodeGuruProfilerRequest.Builder, SdkPojo, CopyableBuilder<PutPermissionRequest.Builder,PutPermissionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutPermissionRequest.BuilderactionGroup(String actionGroup)Specifies an action group that contains permissions to add to a profiling group resource.PutPermissionRequest.BuilderactionGroup(ActionGroup actionGroup)Specifies an action group that contains permissions to add to a profiling group resource.PutPermissionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutPermissionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutPermissionRequest.Builderprincipals(String... principals)A list ARNs for the roles and users you want to grant access to the profiling group.PutPermissionRequest.Builderprincipals(Collection<String> principals)A list ARNs for the roles and users you want to grant access to the profiling group.PutPermissionRequest.BuilderprofilingGroupName(String profilingGroupName)The name of the profiling group to grant access to.PutPermissionRequest.BuilderrevisionId(String revisionId)A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
actionGroup
PutPermissionRequest.Builder actionGroup(String actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported,
agentPermissions, which grants permission to perform actions required by the profiling agent,ConfigureAgentandPostAgentProfilepermissions.- Parameters:
actionGroup- Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported,agentPermissions, which grants permission to perform actions required by the profiling agent,ConfigureAgentandPostAgentProfilepermissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionGroup,ActionGroup
-
actionGroup
PutPermissionRequest.Builder actionGroup(ActionGroup actionGroup)
Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported,
agentPermissions, which grants permission to perform actions required by the profiling agent,ConfigureAgentandPostAgentProfilepermissions.- Parameters:
actionGroup- Specifies an action group that contains permissions to add to a profiling group resource. One action group is supported,agentPermissions, which grants permission to perform actions required by the profiling agent,ConfigureAgentandPostAgentProfilepermissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionGroup,ActionGroup
-
principals
PutPermissionRequest.Builder principals(Collection<String> principals)
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
- Parameters:
principals- A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principals
PutPermissionRequest.Builder principals(String... principals)
A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.
- Parameters:
principals- A list ARNs for the roles and users you want to grant access to the profiling group. Wildcards are not are supported in the ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingGroupName
PutPermissionRequest.Builder profilingGroupName(String profilingGroupName)
The name of the profiling group to grant access to.
- Parameters:
profilingGroupName- The name of the profiling group to grant access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
PutPermissionRequest.Builder revisionId(String revisionId)
A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify the
revisionId.- Parameters:
revisionId- A universally unique identifier (UUID) for the revision of the policy you are adding to the profiling group. Do not specify this when you add permissions to a profiling group for the first time. If a policy already exists on the profiling group, you must specify therevisionId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutPermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-