public ListRecoveryPointsByResourceRequest withManagedByAWSBackupOnly(Boolean managedByAWSBackupOnly) {
        setManagedByAWSBackupOnly(managedByAWSBackupOnly);
        return this;
    }
<p>
This attribute filters recovery points based on ownership.
</p>
<p>
If this is set to <code>TRUE</code>, the response will contain recovery points associated with the selected
resources that are managed by Backup.
</p>
<p>
If this is set to <code>FALSE</code>, the response will contain all recovery points associated with the selected
resource.
</p>
<p>
Type: Boolean
</p>

@param managedByAWSBackupOnly
       This attribute filters recovery points based on ownership.</p>
       <p>
       If this is set to <code>TRUE</code>, the response will contain recovery points associated with the
       selected resources that are managed by Backup.
       </p>
       <p>
       If this is set to <code>FALSE</code>, the response will contain all recovery points associated with the
       selected resource.
       </p>
       <p>
       Type: Boolean
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/ListRecoveryPointsByResourceRequest.java