public Observable<ManagedBackupShortTermRetentionPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName) {
        return getWithServiceResponseAsync(resourceGroupName, managedInstanceName, databaseName).map(new Func1<ServiceResponse<ManagedBackupShortTermRetentionPolicyInner>, ManagedBackupShortTermRetentionPolicyInner>() {
            @Override
            public ManagedBackupShortTermRetentionPolicyInner call(ServiceResponse<ManagedBackupShortTermRetentionPolicyInner> response) {
                return response.body();
            }
        });
    }
public Observable < ManagedBackupShortTermRetentionPolicyInner > getAsync ( String resourceGroupName , String managedInstanceName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , managedInstanceName , databaseName ) . map ( new Func1 < ServiceResponse < ManagedBackupShortTermRetentionPolicyInner > , ManagedBackupShortTermRetentionPolicyInner > ( ) { @ Override public ManagedBackupShortTermRetentionPolicyInner call ( ServiceResponse < ManagedBackupShortTermRetentionPolicyInner > response ) { return response . body ( ) ; } } ) ; }
Gets a managed database's short term retention policy.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param managedInstanceName The name of the managed instance.
@param databaseName The name of the database.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the ManagedBackupShortTermRetentionPolicyInner object