code: public Observable<ServiceResponse<Void>> createOrUpdateSecuritySettingsWithServiceResponseAsync(String deviceName, String resourceGroupName, AsymmetricEncryptedSecret deviceAdminPassword) {
          if (deviceName == null) {
              throw new IllegalArgumentException("Parameter deviceName is required and cannot be null.");
          }
          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 (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          if (deviceAdminPassword == null) {
              throw new IllegalArgumentException("Parameter deviceAdminPassword is required and cannot be null.");
          }
          Validator.validate(deviceAdminPassword);
          SecuritySettings securitySettings = new SecuritySettings();
          securitySettings.withDeviceAdminPassword(deviceAdminPassword);
          Observable<Response<ResponseBody>> observable = service.createOrUpdateSecuritySettings(deviceName, this.client.subscriptionId(), resourceGroupName, this.client.apiVersion(), this.client.acceptLanguage(), securitySettings, this.client.userAgent());
          return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken<Void>() { }.getType());
      }
docs: Updates the security settings on a data box edge/gateway device.
  
  @param deviceName The device name.
  @param resourceGroupName The resource group name.
  @param deviceAdminPassword Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the  local web UI of the device. The Actual password should have at least 8 characters that are a combination of  uppercase, lowercase, numeric, and special characters.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request