congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StorageClientSettings_Builder.clientName
Code IndexAdd Tabnine to your IDE (free)

How to use
clientName
method
in
org.apache.bookkeeper.clients.config.StorageClientSettings_Builder

Best Java code snippets using org.apache.bookkeeper.clients.config.StorageClientSettings_Builder.clientName (Showing top 3 results out of 315)

origin: org.apache.bookkeeper/stream-storage-java-client-base

/**
 * If the value to be returned by {@link StorageClientSettings#clientName()} is present, replaces
 * it by applying {@code mapper} to it and using the result.
 *
 * <p>If the result is null, clears the value.
 *
 * @return this {@code Builder} object
 * @throws NullPointerException if {@code mapper} is null
 */
public StorageClientSettings.Builder mapClientName(UnaryOperator<String> mapper) {
 return clientName(clientName().map(mapper));
}
origin: org.apache.bookkeeper/stream-storage-java-client-base

/**
 * Sets the value to be returned by {@link StorageClientSettings#clientName()}.
 *
 * @return this {@code Builder} object
 */
public StorageClientSettings.Builder clientName(Optional<? extends String> clientName) {
 if (clientName.isPresent()) {
  return clientName(clientName.get());
 } else {
  return clearClientName();
 }
}
origin: org.apache.bookkeeper/stream-storage-java-client-base

/**
 * Sets the value to be returned by {@link StorageClientSettings#clientName()}.
 *
 * @return this {@code Builder} object
 */
public StorageClientSettings.Builder nullableClientName(@Nullable String clientName) {
 if (clientName != null) {
  return clientName(clientName);
 } else {
  return clearClientName();
 }
}
org.apache.bookkeeper.clients.configStorageClientSettings_BuilderclientName

Javadoc

Returns the value that will be returned by StorageClientSettings#clientName().

Popular methods of StorageClientSettings_Builder

  • backoffPolicy
    Sets the value to be returned by StorageClientSettings#backoffPolicy().
  • build
    Returns a newly-created StorageClientSettings based on the contents of the Builder.
  • clearClientName
    Sets the value to be returned by StorageClientSettings#clientName() to Optional#empty().
  • clearStatsLogger
    Sets the value to be returned by StorageClientSettings#statsLogger() to Optional#empty().
  • enableServerSideRouting
    Sets the value to be returned by StorageClientSettings#enableServerSideRouting().
  • endpointResolver
    Sets the value to be returned by StorageClientSettings#endpointResolver().
  • numWorkerThreads
    Sets the value to be returned by StorageClientSettings#numWorkerThreads().
  • serviceUri
    Sets the value to be returned by StorageClientSettings#serviceUri().
  • statsLogger
    Sets the value to be returned by StorageClientSettings#statsLogger().
  • usePlaintext
    Sets the value to be returned by StorageClientSettings#usePlaintext().

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Sublime Text plugins
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