Interface DescribeAccessPolicyResponse.Builder

    • Method Detail

      • accessPolicyId

        DescribeAccessPolicyResponse.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.
      • accessPolicyArn

        DescribeAccessPolicyResponse.Builder accessPolicyArn​(String accessPolicyArn)

        The ARN of the access policy, which has the following format.

        arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

        Parameters:
        accessPolicyArn - The ARN of the access policy, which has the following format.

        arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPolicyIdentity

        DescribeAccessPolicyResponse.Builder accessPolicyIdentity​(Identity accessPolicyIdentity)

        The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy applies.

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

        DescribeAccessPolicyResponse.Builder accessPolicyResource​(Resource accessPolicyResource)

        The IoT SiteWise Monitor resource (portal or project) to which this access policy provides access.

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

        DescribeAccessPolicyResponse.Builder accessPolicyPermission​(String accessPolicyPermission)

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

        Parameters:
        accessPolicyPermission - The access policy permission. 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

        DescribeAccessPolicyResponse.Builder accessPolicyPermission​(Permission accessPolicyPermission)

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

        Parameters:
        accessPolicyPermission - The access policy permission. 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
      • accessPolicyCreationDate

        DescribeAccessPolicyResponse.Builder accessPolicyCreationDate​(Instant accessPolicyCreationDate)

        The date the access policy was created, in Unix epoch time.

        Parameters:
        accessPolicyCreationDate - The date the access policy was created, in Unix epoch time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accessPolicyLastUpdateDate

        DescribeAccessPolicyResponse.Builder accessPolicyLastUpdateDate​(Instant accessPolicyLastUpdateDate)

        The date the access policy was last updated, in Unix epoch time.

        Parameters:
        accessPolicyLastUpdateDate - The date the access policy was last updated, in Unix epoch time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.