@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateResourceServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateResourceServerRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateResourceServerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentifier()
A unique resource server 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)
A unique resource server 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.
|
UpdateResourceServerRequest |
withIdentifier(String identifier)
A unique resource server 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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
userPoolId
- The user pool ID for the user pool.public String getUserPoolId()
The user pool ID for the user pool.
public UpdateResourceServerRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
userPoolId
- The user pool ID for the user pool.public void setIdentifier(String identifier)
A unique resource server identifier for the resource server. The identifier can be an API friendly name like
solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your access
tokens.
identifier
- A unique resource server identifier for the resource server. The identifier can be an API friendly name
like solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your
access tokens.
public String getIdentifier()
A unique resource server identifier for the resource server. The identifier can be an API friendly name like
solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your access
tokens.
solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of
your access tokens.
public UpdateResourceServerRequest withIdentifier(String identifier)
A unique resource server identifier for the resource server. The identifier can be an API friendly name like
solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your access
tokens.
identifier
- A unique resource server identifier for the resource server. The identifier can be an API friendly name
like solar-system-data
. You can also set an API URL like
https://solar-system-data-api.example.com
as your identifier.
Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope
. Longer scope-identifier strings increase the size of your
access tokens.
public void setName(String name)
The name of the resource server.
name
- The name of the resource server.public String getName()
The name of the resource server.
public UpdateResourceServerRequest withName(String name)
The name of the resource server.
name
- The name of the resource server.public List<ResourceServerScopeType> getScopes()
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.
NOTE: This method appends the values to the existing list (if any). Use
setScopes(java.util.Collection)
or withScopes(java.util.Collection)
if you want to override the
existing values.
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.
scopes
- The scope values to be set for the resource server.public String toString()
toString
in class Object
Object.toString()
public UpdateResourceServerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()