Tabnine Logo
UpdateGroupRequest.userPoolId
Code IndexAdd Tabnine to your IDE (free)

How to use
userPoolId
method
in
software.amazon.awssdk.services.cognitoidentityprovider.model.UpdateGroupRequest

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

origin: aws/aws-sdk-java-v2

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "GroupName":
    return Optional.ofNullable(clazz.cast(groupName()));
  case "UserPoolId":
    return Optional.ofNullable(clazz.cast(userPoolId()));
  case "Description":
    return Optional.ofNullable(clazz.cast(description()));
  case "RoleArn":
    return Optional.ofNullable(clazz.cast(roleArn()));
  case "Precedence":
    return Optional.ofNullable(clazz.cast(precedence()));
  default:
    return Optional.empty();
  }
}
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("UpdateGroupRequest").add("GroupName", groupName()).add("UserPoolId", userPoolId())
      .add("Description", description()).add("RoleArn", roleArn()).add("Precedence", precedence()).build();
}
origin: software.amazon.awssdk/cognitoidp

@Override
public String toString() {
  return ToString.builder("UpdateGroupRequest").add("GroupName", groupName()).add("UserPoolId", userPoolId())
      .add("Description", description()).add("RoleArn", roleArn()).add("Precedence", precedence()).build();
}
origin: aws/aws-sdk-java-v2

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

public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) {
  switch (fieldName) {
  case "GroupName":
    return Optional.ofNullable(clazz.cast(groupName()));
  case "UserPoolId":
    return Optional.ofNullable(clazz.cast(userPoolId()));
  case "Description":
    return Optional.ofNullable(clazz.cast(description()));
  case "RoleArn":
    return Optional.ofNullable(clazz.cast(roleArn()));
  case "Precedence":
    return Optional.ofNullable(clazz.cast(precedence()));
  default:
    return Optional.empty();
  }
}
origin: software.amazon.awssdk/cognitoidp

@Override
public int hashCode() {
  int hashCode = 1;
  hashCode = 31 * hashCode + Objects.hashCode(groupName());
  hashCode = 31 * hashCode + Objects.hashCode(userPoolId());
  hashCode = 31 * hashCode + Objects.hashCode(description());
  hashCode = 31 * hashCode + Objects.hashCode(roleArn());
  hashCode = 31 * hashCode + Objects.hashCode(precedence());
  return hashCode;
}
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 UpdateGroupRequest)) {
    return false;
  }
  UpdateGroupRequest other = (UpdateGroupRequest) obj;
  return Objects.equals(groupName(), other.groupName()) && Objects.equals(userPoolId(), other.userPoolId())
      && Objects.equals(description(), other.description()) && Objects.equals(roleArn(), other.roleArn())
      && Objects.equals(precedence(), other.precedence());
}
origin: software.amazon.awssdk/cognitoidp

@Override
public boolean equals(Object obj) {
  if (this == obj) {
    return true;
  }
  if (obj == null) {
    return false;
  }
  if (!(obj instanceof UpdateGroupRequest)) {
    return false;
  }
  UpdateGroupRequest other = (UpdateGroupRequest) obj;
  return Objects.equals(groupName(), other.groupName()) && Objects.equals(userPoolId(), other.userPoolId())
      && Objects.equals(description(), other.description()) && Objects.equals(roleArn(), other.roleArn())
      && Objects.equals(precedence(), other.precedence());
}
origin: software.amazon.awssdk/cognitoidp

  /**
   * Marshall the given parameter object
   */
  public void marshall(UpdateGroupRequest updateGroupRequest, ProtocolMarshaller protocolMarshaller) {
    Validate.paramNotNull(updateGroupRequest, "updateGroupRequest");
    Validate.paramNotNull(protocolMarshaller, "protocolMarshaller");
    try {
      protocolMarshaller.marshall(updateGroupRequest.groupName(), GROUPNAME_BINDING);
      protocolMarshaller.marshall(updateGroupRequest.userPoolId(), USERPOOLID_BINDING);
      protocolMarshaller.marshall(updateGroupRequest.description(), DESCRIPTION_BINDING);
      protocolMarshaller.marshall(updateGroupRequest.roleArn(), ROLEARN_BINDING);
      protocolMarshaller.marshall(updateGroupRequest.precedence(), PRECEDENCE_BINDING);
    } catch (Exception e) {
      throw SdkClientException.builder().message("Unable to marshall request to JSON: " + e.getMessage()).cause(e).build();
    }
  }
}
software.amazon.awssdk.services.cognitoidentityprovider.modelUpdateGroupRequestuserPoolId

Javadoc

The user pool ID for the user pool.

Popular methods of UpdateGroupRequest

  • <init>
  • builder
  • description
    A string containing the new description of the group.
  • groupName
    The name of the group.
  • precedence
    The new precedence value for the group. For more information about this parameter, see CreateGroup
  • roleArn
    The new role ARN for the group. This is used for setting the cognito:roles and cognito:preferred_ro

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Path (java.nio.file)
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • 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