@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceServerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResourceServerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResourceServerRequest |
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()
A friendly name for the resource server.
|
List<ResourceServerScopeType> |
getScopes()
A list of scopes.
|
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)
A friendly name for the resource server.
|
void |
setScopes(Collection<ResourceServerScopeType> scopes)
A list of scopes.
|
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.
|
CreateResourceServerRequest |
withIdentifier(String identifier)
A unique resource server identifier for the resource server.
|
CreateResourceServerRequest |
withName(String name)
A friendly name for the resource server.
|
CreateResourceServerRequest |
withScopes(Collection<ResourceServerScopeType> scopes)
A list of scopes.
|
CreateResourceServerRequest |
withScopes(ResourceServerScopeType... scopes)
A list of scopes.
|
CreateResourceServerRequest |
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 CreateResourceServerRequest 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. This could be an HTTPS endpoint where the resource
server is located. For example, https://my-weather-api.example.com
.
identifier
- A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the
resource server is located. For example, https://my-weather-api.example.com
.public String getIdentifier()
A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource
server is located. For example, https://my-weather-api.example.com
.
https://my-weather-api.example.com
.public CreateResourceServerRequest withIdentifier(String identifier)
A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource
server is located. For example, https://my-weather-api.example.com
.
identifier
- A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the
resource server is located. For example, https://my-weather-api.example.com
.public void setName(String name)
A friendly name for the resource server.
name
- A friendly name for the resource server.public String getName()
A friendly name for the resource server.
public CreateResourceServerRequest withName(String name)
A friendly name for the resource server.
name
- A friendly name for the resource server.public List<ResourceServerScopeType> getScopes()
A list of scopes. Each scope is map, where the keys are name
and description
.
name
and description
.public void setScopes(Collection<ResourceServerScopeType> scopes)
A list of scopes. Each scope is map, where the keys are name
and description
.
scopes
- A list of scopes. Each scope is map, where the keys are name
and description
.public CreateResourceServerRequest withScopes(ResourceServerScopeType... scopes)
A list of scopes. Each scope is map, where the keys are name
and description
.
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
- A list of scopes. Each scope is map, where the keys are name
and description
.public CreateResourceServerRequest withScopes(Collection<ResourceServerScopeType> scopes)
A list of scopes. Each scope is map, where the keys are name
and description
.
scopes
- A list of scopes. Each scope is map, where the keys are name
and description
.public String toString()
toString
in class Object
Object.toString()
public CreateResourceServerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.