code: public Observable<ServiceResponse<ContentKeyPolicyPropertiesInner>> getPolicyPropertiesWithSecretsWithServiceResponseAsync(String resourceGroupName, String accountName, String contentKeyPolicyName) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (accountName == null) {
              throw new IllegalArgumentException("Parameter accountName is required and cannot be null.");
          }
          if (contentKeyPolicyName == null) {
              throw new IllegalArgumentException("Parameter contentKeyPolicyName is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          return service.getPolicyPropertiesWithSecrets(this.client.subscriptionId(), resourceGroupName, accountName, contentKeyPolicyName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ContentKeyPolicyPropertiesInner>>>() {
                  @Override
                  public Observable<ServiceResponse<ContentKeyPolicyPropertiesInner>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<ContentKeyPolicyPropertiesInner> clientResponse = getPolicyPropertiesWithSecretsDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Get a Content Key Policy with secrets.
  Get a Content Key Policy including secret values.
  
  @param resourceGroupName The name of the resource group within the Azure subscription.
  @param accountName The Media Services account name.
  @param contentKeyPolicyName The Content Key Policy name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ContentKeyPolicyPropertiesInner object