public ServiceFuture<EncryptionProtectorInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, EncryptionProtectorInner parameters, final ServiceCallback<EncryptionProtectorInner> serviceCallback) {
        return ServiceFuture.fromResponse(beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, serverName, parameters), serviceCallback);
    }
public ServiceFuture < EncryptionProtectorInner > beginCreateOrUpdateAsync ( String resourceGroupName , String serverName , EncryptionProtectorInner parameters , final ServiceCallback < EncryptionProtectorInner > serviceCallback ) { return ServiceFuture . fromResponse ( beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , serverName , parameters ) , serviceCallback ) ; }
Updates an existing encryption protector.

@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 serverName The name of the server.
@param parameters The requested encryption protector resource state.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object