congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DescribeUserPoolResponse
Code IndexAdd Tabnine to your IDE (free)

How to use
DescribeUserPoolResponse
in
software.amazon.awssdk.services.cognitoidentityprovider.model

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.DescribeUserPoolResponse (Showing top 11 results out of 315)

origin: software.amazon.awssdk/cognitoidp

  @Override
  public DescribeUserPoolResponse build() {
    return new DescribeUserPoolResponse(this);
  }
}
origin: aws/aws-sdk-java-v2

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof DescribeUserPoolResponse)) {
    return false;
  }
  DescribeUserPoolResponse other = (DescribeUserPoolResponse) obj;
  return Objects.equals(userPool(), other.userPool());
}
origin: software.amazon.awssdk/cognitoidp

public DescribeUserPoolResponse unmarshall(JsonUnmarshallerContext context) throws Exception {
  DescribeUserPoolResponse.Builder describeUserPoolResponseBuilder = DescribeUserPoolResponse.builder();
  int originalDepth = context.getCurrentDepth();
  String currentParentElement = context.getCurrentParentElement();
  int targetDepth = originalDepth + 1;
  JsonToken token = context.getCurrentToken();
  if (token == null)
    token = context.nextToken();
  if (token == VALUE_NULL) {
    return describeUserPoolResponseBuilder.build();
  }
  while (true) {
    if (token == null)
      break;
    if (token == FIELD_NAME || token == START_OBJECT) {
      if (context.testExpression("UserPool", targetDepth)) {
        context.nextToken();
        describeUserPoolResponseBuilder.userPool(UserPoolTypeUnmarshaller.getInstance().unmarshall(context));
      }
    } else if (token == END_ARRAY || token == END_OBJECT) {
      if (context.getLastParsedParentElement() == null
          || context.getLastParsedParentElement().equals(currentParentElement)) {
        if (context.getCurrentDepth() <= originalDepth)
          break;
      }
    }
    token = context.nextToken();
  }
  return describeUserPoolResponseBuilder.build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof DescribeUserPoolResponse)) {
    return false;
  }
  DescribeUserPoolResponse other = (DescribeUserPoolResponse) obj;
  return Objects.equals(userPool(), other.userPool());
}
origin: aws/aws-sdk-java-v2

@Override
public DescribeUserPoolResponse build() {
  return new DescribeUserPoolResponse(this);
}
origin: aws/aws-sdk-java-v2

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(userPool());
  return hashCode;
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(userPool());
  return hashCode;
}
origin: aws/aws-sdk-java-v2

/**
 * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
 * redacted from this string using a placeholder value.
 */
@Override
public String toString() {
  return ToString.builder("DescribeUserPoolResponse").add("UserPool", userPool()).build();
}
origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "UserPool":
    return Optional.ofNullable(clazz.cast(userPool()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("DescribeUserPoolResponse").add("UserPool", userPool()).build();
}
origin: software.amazon.awssdk/cognitoidp

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "UserPool":
    return Optional.ofNullable(clazz.cast(userPool()));
  default:
    return Optional.empty();
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelDescribeUserPoolResponse

Javadoc

Represents the response to describe the user pool.

Most used methods

  • <init>
  • userPool
    The container of metadata returned by the server to describe the pool.
  • builder

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • setContentView (Activity)
  • scheduleAtFixedRate (Timer)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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