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

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

Best Java code snippets using software.amazon.awssdk.services.cognitoidentityprovider.model.UpdateGroupRequest.precedence (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.modelUpdateGroupRequestprecedence

Javadoc

The new precedence value for the group. For more information about this parameter, see .

Popular methods of UpdateGroupRequest

  • <init>
  • builder
  • description
    A string containing the new description of the group.
  • groupName
    The name of the group.
  • 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

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • findViewById (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JLabel (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
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