Tabnine Logo
LocationMode.equals
Code IndexAdd Tabnine to your IDE (free)

How to use
equals
method
in
com.microsoft.azure.storage.LocationMode

Best Java code snippets using com.microsoft.azure.storage.LocationMode.equals (Showing top 2 results out of 315)

origin: com.microsoft.azure/azure-storage

/**
 * Sets the {@link LocationMode} for this request.
 * <p>
 * The default {@link LocationMode} is set in the client and is by default {@link LocationMode#PRIMARY_ONLY}. You
 * can change the {@link LocationMode} on this request by setting this property. You can also change the value on
 * the {@link ServiceClient#getDefaultRequestOptions()} object so that all subsequent requests made via the service
 * client will use that {@link LocationMode}.
 * 
 * @param locationMode
 *            the locationMode to set
 */
@Override
public final void setLocationMode(final LocationMode locationMode) {
  if (locationMode != null && !locationMode.equals(LocationMode.PRIMARY_ONLY)) {
    throw new UnsupportedOperationException(SR.PRIMARY_ONLY_COMMAND);
  }
  super.setLocationMode(locationMode);
}
origin: Azure/azure-storage-android

  /**
   * Sets the {@link LocationMode} for this request.
   * <p>
   * The default {@link LocationMode} is set in the client and is by default {@link LocationMode#PRIMARY_ONLY}. You
   * can change the {@link LocationMode} on this request by setting this property. You can also change the value on
   * the {@link ServiceClient#getDefaultRequestOptions()} object so that all subsequent requests made via the service
   * client will use that {@link LocationMode}.
   * 
   * @param locationMode
   *            the locationMode to set
   */
  @Override
  public final void setLocationMode(final LocationMode locationMode) {
    if (locationMode != null && !locationMode.equals(LocationMode.PRIMARY_ONLY)) {
      throw new UnsupportedOperationException(SR.PRIMARY_ONLY_COMMAND);
    }

    super.setLocationMode(locationMode);
  }
}
com.microsoft.azure.storageLocationModeequals

Popular methods of LocationMode

    Popular in Java

    • Updating database using SQL prepared statement
    • getResourceAsStream (ClassLoader)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • getSupportFragmentManager (FragmentActivity)
    • FlowLayout (java.awt)
      A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
    • ServerSocket (java.net)
      This class represents a server-side socket that waits for incoming client connections. A ServerSocke
    • Selector (java.nio.channels)
      A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
    • Permission (java.security)
      Legacy security code; do not use.
    • Timer (java.util)
      Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
    • JarFile (java.util.jar)
      JarFile is used to read jar entries and their associated data from jar files.
    • Top 12 Jupyter Notebook extensions
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now