Class UpdateGroupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.UpdateGroupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateGroupRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateGroupRequest.Builderbuilder()Stringdescription()A string containing the new description of the group.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The name of the group.inthashCode()Integerprecedence()The new precedence value for the group.StringroleArn()The new role Amazon Resource Name (ARN) for the group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateGroupRequest.Builder>serializableBuilderClass()UpdateGroupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserPoolId()The ID of the user pool.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groupName
public final String groupName()
The name of the group.
- Returns:
- The name of the group.
-
userPoolId
public final String userPoolId()
The ID of the user pool.
- Returns:
- The ID of the user pool.
-
description
public final String description()
A string containing the new description of the group.
- Returns:
- A string containing the new description of the group.
-
roleArn
public final String roleArn()
The new role Amazon Resource Name (ARN) for the group. This is used for setting the
cognito:rolesandcognito:preferred_roleclaims in the token.- Returns:
- The new role Amazon Resource Name (ARN) for the group. This is used for setting the
cognito:rolesandcognito:preferred_roleclaims in the token.
-
precedence
public final Integer precedence()
The new precedence value for the group. For more information about this parameter, see CreateGroup.
- Returns:
- The new precedence value for the group. For more information about this parameter, see CreateGroup.
-
toBuilder
public UpdateGroupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateGroupRequest.Builder,UpdateGroupRequest>- Specified by:
toBuilderin classCognitoIdentityProviderRequest
-
builder
public static UpdateGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-