Interface UpdateAccessPolicyRequest.Builder

    • Method Detail

      • accessPolicyId

        UpdateAccessPolicyRequest.Builder accessPolicyId​(String accessPolicyId)

        The ID of the access policy.

        Parameters:
        accessPolicyId - The ID of the access policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPolicyIdentity

        UpdateAccessPolicyRequest.Builder accessPolicyIdentity​(Identity accessPolicyIdentity)

        The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.

        Parameters:
        accessPolicyIdentity - The identity for this access policy. Choose an IAM Identity Center user, an IAM Identity Center group, or an IAM user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPolicyResource

        UpdateAccessPolicyRequest.Builder accessPolicyResource​(Resource accessPolicyResource)

        The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.

        Parameters:
        accessPolicyResource - The IoT SiteWise Monitor resource for this access policy. Choose either a portal or a project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPolicyPermission

        UpdateAccessPolicyRequest.Builder accessPolicyPermission​(String accessPolicyPermission)

        The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

        Parameters:
        accessPolicyPermission - The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Permission, Permission
      • accessPolicyPermission

        UpdateAccessPolicyRequest.Builder accessPolicyPermission​(Permission accessPolicyPermission)

        The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.

        Parameters:
        accessPolicyPermission - The permission level for this access policy. Note that a project ADMINISTRATOR is also known as a project owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Permission, Permission
      • clientToken

        UpdateAccessPolicyRequest.Builder clientToken​(String clientToken)

        A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.

        Parameters:
        clientToken - A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
        Returns:
        Returns a reference to this object so that method calls can be chained together.