public ResourceSharePermissionDetail getPermission() {
        return this.permission;
    }
<p>
An object with details about the permission.
</p>

@return An object with details about the permission.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetPermissionResult.java