public class UpdateGroupRequest extends AmazonWebServiceRequest implements Serializable
Updates the specified group with the specified attributes.
Calling this action requires developer credentials.
If you don't provide a value for an attribute, it will be set to the default value.
Constructor and Description |
---|
UpdateGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
A string containing the new description of the group.
|
String |
getGroupName()
The name of the group.
|
Integer |
getPrecedence()
The new precedence value for the group.
|
String |
getRoleArn()
The new role ARN for the group.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setDescription(String description)
A string containing the new description of the group.
|
void |
setGroupName(String groupName)
The name of the group.
|
void |
setPrecedence(Integer precedence)
The new precedence value for the group.
|
void |
setRoleArn(String roleArn)
The new role ARN for the group.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateGroupRequest |
withDescription(String description)
A string containing the new description of the group.
|
UpdateGroupRequest |
withGroupName(String groupName)
The name of the group.
|
UpdateGroupRequest |
withPrecedence(Integer precedence)
The new precedence value for the group.
|
UpdateGroupRequest |
withRoleArn(String roleArn)
The new role ARN for the group.
|
UpdateGroupRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getGroupName()
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The name of the group.
public void setGroupName(String groupName)
The name of the group.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName
- The name of the group.
public UpdateGroupRequest withGroupName(String groupName)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName
- The name of the group.
public String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool.
public UpdateGroupRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool.
public String getDescription()
A string containing the new description of the group.
Constraints:
Length: - 2048
A string containing the new description of the group.
public void setDescription(String description)
A string containing the new description of the group.
Constraints:
Length: - 2048
description
- A string containing the new description of the group.
public UpdateGroupRequest withDescription(String description)
A string containing the new description of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
description
- A string containing the new description of the group.
public String getRoleArn()
The new role ARN for the group. This is used for setting the
cognito:roles
and cognito:preferred_role
claims
in the token.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
The new role ARN for the group. This is used for setting the
cognito:roles
and
cognito:preferred_role
claims in the token.
public void setRoleArn(String roleArn)
The new role ARN for the group. This is used for setting the
cognito:roles
and cognito:preferred_role
claims
in the token.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
roleArn
-
The new role ARN for the group. This is used for setting the
cognito:roles
and
cognito:preferred_role
claims in the token.
public UpdateGroupRequest withRoleArn(String roleArn)
The new role ARN for the group. This is used for setting the
cognito:roles
and cognito:preferred_role
claims
in the token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
roleArn
-
The new role ARN for the group. This is used for setting the
cognito:roles
and
cognito:preferred_role
claims in the token.
public Integer getPrecedence()
The new precedence value for the group. For more information about this parameter, see .
Constraints:
Range: 0 -
The new precedence value for the group. For more information about this parameter, see .
public void setPrecedence(Integer precedence)
The new precedence value for the group. For more information about this parameter, see .
Constraints:
Range: 0 -
precedence
- The new precedence value for the group. For more information about this parameter, see .
public UpdateGroupRequest withPrecedence(Integer precedence)
The new precedence value for the group. For more information about this parameter, see .
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
precedence
- The new precedence value for the group. For more information about this parameter, see .
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.