Interface PutPermissionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<PutPermissionRequest.Builder,,PutPermissionRequest> SdkBuilder<PutPermissionRequest.Builder,,PutPermissionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionGroup(String actionGroup) Specifies an action group that contains permissions to add to a profiling group resource.actionGroup(ActionGroup actionGroup) Specifies an action group that contains permissions to add to a profiling group resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.principals(String... principals) A list ARNs for the roles and users you want to grant access to the profiling group.principals(Collection<String> principals) A list ARNs for the roles and users you want to grant access to the profiling group.profilingGroupName(String profilingGroupName) The name of the profiling group to grant access to.revisionId(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-
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
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
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
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) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutPermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-