public class UpdateResourceServerRequest extends AmazonWebServiceRequest implements Serializable
Updates the name and scopes of resource server. All other fields are read-only.
If you don't provide a value for an attribute, it will be set to the default value.
| Constructor and Description |
|---|
UpdateResourceServerRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIdentifier()
The identifier for the resource server.
|
String |
getName()
The name of the resource server.
|
List<ResourceServerScopeType> |
getScopes()
The scope values to be set for the resource server.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setIdentifier(String identifier)
The identifier for the resource server.
|
void |
setName(String name)
The name of the resource server.
|
void |
setScopes(Collection<ResourceServerScopeType> scopes)
The scope values to be set for the resource server.
|
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.
|
UpdateResourceServerRequest |
withIdentifier(String identifier)
The identifier for the resource server.
|
UpdateResourceServerRequest |
withName(String name)
The name of the resource server.
|
UpdateResourceServerRequest |
withScopes(Collection<ResourceServerScopeType> scopes)
The scope values to be set for the resource server.
|
UpdateResourceServerRequest |
withScopes(ResourceServerScopeType... scopes)
The scope values to be set for the resource server.
|
UpdateResourceServerRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 UpdateResourceServerRequest 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 getIdentifier()
The identifier for the resource server.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
The identifier for the resource server.
public void setIdentifier(String identifier)
The identifier for the resource server.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
identifier - The identifier for the resource server.
public UpdateResourceServerRequest withIdentifier(String identifier)
The identifier for the resource server.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [\x21\x23-\x5B\x5D-\x7E]+
identifier - The identifier for the resource server.
public String getName()
The name of the resource server.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
The name of the resource server.
public void setName(String name)
The name of the resource server.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
name - The name of the resource server.
public UpdateResourceServerRequest withName(String name)
The name of the resource server.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [\w\s+=,.@-]+
name - The name of the resource server.
public List<ResourceServerScopeType> getScopes()
The scope values to be set for the resource server.
The scope values to be set for the resource server.
public void setScopes(Collection<ResourceServerScopeType> scopes)
The scope values to be set for the resource server.
scopes - The scope values to be set for the resource server.
public UpdateResourceServerRequest withScopes(ResourceServerScopeType... scopes)
The scope values to be set for the resource server.
Returns a reference to this object so that method calls can be chained together.
scopes - The scope values to be set for the resource server.
public UpdateResourceServerRequest withScopes(Collection<ResourceServerScopeType> scopes)
The scope values to be set for the resource server.
Returns a reference to this object so that method calls can be chained together.
scopes - The scope values to be set for the resource server.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.