Interface PutPermissionRequest.Builder

    • 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, 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, 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, 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, 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 the revisionId.
        Returns:
        Returns a reference to this object so that method calls can be chained together.