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 Details

    • 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, ConfigureAgent and PostAgentProfile permissions.

      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, ConfigureAgent and PostAgentProfile permissions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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, ConfigureAgent and PostAgentProfile permissions.

      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, ConfigureAgent and PostAgentProfile permissions.
      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

      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 the revisionId.
      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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.