Codota Logo
NewDeviceMetadataType$Builder.applyMutation
Code IndexAdd Codota to your IDE (free)

How to use
applyMutation
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.NewDeviceMetadataType$Builder

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.NewDeviceMetadataType$Builder.applyMutation (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: aws/aws-sdk-java-v2

  /**
   * <p>
   * The new device metadata from an authentication result.
   * </p>
   * This is a convenience that creates an instance of the {@link NewDeviceMetadataType.Builder} avoiding the need
   * to create one manually via {@link NewDeviceMetadataType#builder()}.
   *
   * When the {@link Consumer} completes, {@link NewDeviceMetadataType.Builder#build()} is called immediately and
   * its result is passed to {@link #newDeviceMetadata(NewDeviceMetadataType)}.
   * 
   * @param newDeviceMetadata
   *        a consumer that will call methods on {@link NewDeviceMetadataType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #newDeviceMetadata(NewDeviceMetadataType)
   */
  default Builder newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata) {
    return newDeviceMetadata(NewDeviceMetadataType.builder().applyMutation(newDeviceMetadata).build());
  }
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * <p>
   * The new device metadata from an authentication result.
   * </p>
   * This is a convenience that creates an instance of the {@link NewDeviceMetadataType.Builder} avoiding the need
   * to create one manually via {@link NewDeviceMetadataType#builder()}.
   *
   * When the {@link Consumer} completes, {@link NewDeviceMetadataType.Builder#build()} is called immediately and
   * its result is passed to {@link #newDeviceMetadata(NewDeviceMetadataType)}.
   * 
   * @param newDeviceMetadata
   *        a consumer that will call methods on {@link NewDeviceMetadataType.Builder}
   * @return Returns a reference to this object so that method calls can be chained together.
   * @see #newDeviceMetadata(NewDeviceMetadataType)
   */
  default Builder newDeviceMetadata(Consumer<NewDeviceMetadataType.Builder> newDeviceMetadata) {
    return newDeviceMetadata(NewDeviceMetadataType.builder().applyMutation(newDeviceMetadata).build());
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelNewDeviceMetadataType$BuilderapplyMutation

Popular methods of NewDeviceMetadataType$Builder

  • build
  • deviceGroupKey
    The device group key.
  • deviceKey
    The device key.

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • putExtra (Intent)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now