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

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

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.NewDeviceMetadataType$Builder (Showing top 3 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: software.amazon.awssdk/cognitoidp

    if (context.testExpression("DeviceKey", targetDepth)) {
      context.nextToken();
      newDeviceMetadataTypeBuilder.deviceKey(context.getUnmarshaller(String.class).unmarshall(context));
      newDeviceMetadataTypeBuilder.deviceGroupKey(context.getUnmarshaller(String.class).unmarshall(context));
return newDeviceMetadataTypeBuilder.build();
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$Builder

Most used methods

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

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • Collectors (java.util.stream)
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
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