Class DescribeAccessPolicyResponse

    • Method Detail

      • accessPolicyId

        public final String accessPolicyId()

        The ID of the access policy.

        Returns:
        The ID of the access policy.
      • accessPolicyArn

        public final String accessPolicyArn()

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

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

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

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

      • accessPolicyIdentity

        public final Identity accessPolicyIdentity()

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

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

        public final Resource accessPolicyResource()

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

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

        public final Permission accessPolicyPermission()

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

        If the service returns an enum value that is not available in the current SDK version, accessPolicyPermission will return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from accessPolicyPermissionAsString().

        Returns:
        The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.
        See Also:
        Permission
      • accessPolicyPermissionAsString

        public final String accessPolicyPermissionAsString()

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

        If the service returns an enum value that is not available in the current SDK version, accessPolicyPermission will return Permission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from accessPolicyPermissionAsString().

        Returns:
        The access policy permission. Note that a project ADMINISTRATOR is also known as a project owner.
        See Also:
        Permission
      • accessPolicyCreationDate

        public final Instant accessPolicyCreationDate()

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

        Returns:
        The date the access policy was created, in Unix epoch time.
      • accessPolicyLastUpdateDate

        public final Instant accessPolicyLastUpdateDate()

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

        Returns:
        The date the access policy was last updated, in Unix epoch time.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object