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

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

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

origin: software.amazon.awssdk/cognitoidp

  @Override
  public UpdateGroupRequest build() {
    return new UpdateGroupRequest(this);
  }
}
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: aws/aws-sdk-java-v2

return updateGroup(UpdateGroupRequest.builder().applyMutation(updateGroupRequest).build());
origin: software.amazon.awssdk/cognitoidp

return updateGroup(UpdateGroupRequest.builder().applyMutation(updateGroupRequest).build());
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: aws/aws-sdk-java-v2

  throws ResourceNotFoundException, InvalidParameterException, TooManyRequestsException, NotAuthorizedException,
  InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException {
return updateGroup(UpdateGroupRequest.builder().applyMutation(updateGroupRequest).build());
origin: aws/aws-sdk-java-v2

@Override
public UpdateGroupRequest build() {
  return new UpdateGroupRequest(this);
}
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: software.amazon.awssdk/cognitoidp

  throws ResourceNotFoundException, InvalidParameterException, TooManyRequestsException, NotAuthorizedException,
  InternalErrorException, AwsServiceException, SdkClientException, CognitoIdentityProviderException {
return updateGroup(UpdateGroupRequest.builder().applyMutation(updateGroupRequest).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 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: 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

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

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

  /**
   * 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.modelUpdateGroupRequest

Most used methods

  • <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
  • userPoolId
    The user pool ID for the user pool.

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • getResourceAsStream (ClassLoader)
  • onCreateOptionsMenu (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top Vim 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