@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterClientRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
RegisterClientRequest() |
| Modifier and Type | Method and Description |
|---|---|
RegisterClientRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientName()
The friendly name of the client.
|
String |
getClientType()
The type of client.
|
List<String> |
getScopes()
The list of scopes that are defined by the client.
|
int |
hashCode() |
void |
setClientName(String clientName)
The friendly name of the client.
|
void |
setClientType(String clientType)
The type of client.
|
void |
setScopes(Collection<String> scopes)
The list of scopes that are defined by the client.
|
String |
toString()
Returns a string representation of this object.
|
RegisterClientRequest |
withClientName(String clientName)
The friendly name of the client.
|
RegisterClientRequest |
withClientType(String clientType)
The type of client.
|
RegisterClientRequest |
withScopes(Collection<String> scopes)
The list of scopes that are defined by the client.
|
RegisterClientRequest |
withScopes(String... scopes)
The list of scopes that are defined by the client.
|
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, withSdkRequestTimeoutpublic void setClientName(String clientName)
The friendly name of the client.
clientName - The friendly name of the client.public String getClientName()
The friendly name of the client.
public RegisterClientRequest withClientName(String clientName)
The friendly name of the client.
clientName - The friendly name of the client.public void setClientType(String clientType)
The type of client. The service supports only public as a client type. Anything other than public
will be rejected by the service.
clientType - The type of client. The service supports only public as a client type. Anything other than
public will be rejected by the service.public String getClientType()
The type of client. The service supports only public as a client type. Anything other than public
will be rejected by the service.
public as a client type. Anything other than
public will be rejected by the service.public RegisterClientRequest withClientType(String clientType)
The type of client. The service supports only public as a client type. Anything other than public
will be rejected by the service.
clientType - The type of client. The service supports only public as a client type. Anything other than
public will be rejected by the service.public List<String> getScopes()
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
public void setScopes(Collection<String> scopes)
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
scopes - The list of scopes that are defined by the client. Upon authorization, this list is used to restrict
permissions when granting an access token.public RegisterClientRequest withScopes(String... scopes)
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
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 list of scopes that are defined by the client. Upon authorization, this list is used to restrict
permissions when granting an access token.public RegisterClientRequest withScopes(Collection<String> scopes)
The list of scopes that are defined by the client. Upon authorization, this list is used to restrict permissions when granting an access token.
scopes - The list of scopes that are defined by the client. Upon authorization, this list is used to restrict
permissions when granting an access token.public String toString()
toString in class ObjectObject.toString()public RegisterClientRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()