Class ListCallerAccessGrantsEntry

    • Method Detail

      • permission

        public final Permission permission()

        The type of permission granted, which can be one of the following values:

        • READ - Grants read-only access to the S3 data.

        • WRITE - Grants write-only access to the S3 data.

        • READWRITE - Grants both read and write access to the S3 data.

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

        Returns:
        The type of permission granted, which can be one of the following values:

        • READ - Grants read-only access to the S3 data.

        • WRITE - Grants write-only access to the S3 data.

        • READWRITE - Grants both read and write access to the S3 data.

        See Also:
        Permission
      • permissionAsString

        public final String permissionAsString()

        The type of permission granted, which can be one of the following values:

        • READ - Grants read-only access to the S3 data.

        • WRITE - Grants write-only access to the S3 data.

        • READWRITE - Grants both read and write access to the S3 data.

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

        Returns:
        The type of permission granted, which can be one of the following values:

        • READ - Grants read-only access to the S3 data.

        • WRITE - Grants write-only access to the S3 data.

        • READWRITE - Grants both read and write access to the S3 data.

        See Also:
        Permission
      • grantScope

        public final String grantScope()

        The S3 path of the data to which you have been granted access.

        Returns:
        The S3 path of the data to which you have been granted access.
      • applicationArn

        public final String applicationArn()

        The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.

        Returns:
        The Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance. If the grant includes an application ARN, the grantee can only access the S3 data through this application.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)