@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminInitiateAuthRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Initiates the authorization request, as an administrator.
NOOP
Constructor and Description |
---|
AdminInitiateAuthRequest() |
Modifier and Type | Method and Description |
---|---|
AdminInitiateAuthRequest |
addAuthParametersEntry(String key,
String value) |
AdminInitiateAuthRequest |
addClientMetadataEntry(String key,
String value) |
AdminInitiateAuthRequest |
clearAuthParametersEntries()
Removes all the entries added into AuthParameters.
|
AdminInitiateAuthRequest |
clearClientMetadataEntries()
Removes all the entries added into ClientMetadata.
|
AdminInitiateAuthRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAuthFlow()
The authentication flow.
|
Map<String,String> |
getAuthParameters()
The authentication parameters.
|
String |
getClientId()
The client app ID.
|
Map<String,String> |
getClientMetadata()
The client app metadata.
|
String |
getUserPoolId()
The ID of the Amazon Cognito user pool.
|
int |
hashCode() |
void |
setAuthFlow(AuthFlowType authFlow)
The authentication flow.
|
void |
setAuthFlow(String authFlow)
The authentication flow.
|
void |
setAuthParameters(Map<String,String> authParameters)
The authentication parameters.
|
void |
setClientId(String clientId)
The client app ID.
|
void |
setClientMetadata(Map<String,String> clientMetadata)
The client app metadata.
|
void |
setUserPoolId(String userPoolId)
The ID of the Amazon Cognito user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AdminInitiateAuthRequest |
withAuthFlow(AuthFlowType authFlow)
The authentication flow.
|
AdminInitiateAuthRequest |
withAuthFlow(String authFlow)
The authentication flow.
|
AdminInitiateAuthRequest |
withAuthParameters(Map<String,String> authParameters)
The authentication parameters.
|
AdminInitiateAuthRequest |
withClientId(String clientId)
The client app ID.
|
AdminInitiateAuthRequest |
withClientMetadata(Map<String,String> clientMetadata)
The client app metadata.
|
AdminInitiateAuthRequest |
withUserPoolId(String userPoolId)
The ID of the Amazon Cognito user pool.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(String userPoolId)
The ID of the Amazon Cognito user pool.
userPoolId
- The ID of the Amazon Cognito user pool.public String getUserPoolId()
The ID of the Amazon Cognito user pool.
public AdminInitiateAuthRequest withUserPoolId(String userPoolId)
The ID of the Amazon Cognito user pool.
userPoolId
- The ID of the Amazon Cognito user pool.public void setClientId(String clientId)
The client app ID.
clientId
- The client app ID.public String getClientId()
The client app ID.
public AdminInitiateAuthRequest withClientId(String clientId)
The client app ID.
clientId
- The client app ID.public void setAuthFlow(String authFlow)
The authentication flow.
authFlow
- The authentication flow.AuthFlowType
public String getAuthFlow()
The authentication flow.
AuthFlowType
public AdminInitiateAuthRequest withAuthFlow(String authFlow)
The authentication flow.
authFlow
- The authentication flow.AuthFlowType
public void setAuthFlow(AuthFlowType authFlow)
The authentication flow.
authFlow
- The authentication flow.AuthFlowType
public AdminInitiateAuthRequest withAuthFlow(AuthFlowType authFlow)
The authentication flow.
authFlow
- The authentication flow.AuthFlowType
public Map<String,String> getAuthParameters()
The authentication parameters.
public void setAuthParameters(Map<String,String> authParameters)
The authentication parameters.
authParameters
- The authentication parameters.public AdminInitiateAuthRequest withAuthParameters(Map<String,String> authParameters)
The authentication parameters.
authParameters
- The authentication parameters.public AdminInitiateAuthRequest addAuthParametersEntry(String key, String value)
public AdminInitiateAuthRequest clearAuthParametersEntries()
public Map<String,String> getClientMetadata()
The client app metadata.
public void setClientMetadata(Map<String,String> clientMetadata)
The client app metadata.
clientMetadata
- The client app metadata.public AdminInitiateAuthRequest withClientMetadata(Map<String,String> clientMetadata)
The client app metadata.
clientMetadata
- The client app metadata.public AdminInitiateAuthRequest addClientMetadataEntry(String key, String value)
public AdminInitiateAuthRequest clearClientMetadataEntries()
public String toString()
toString
in class Object
Object.toString()
public AdminInitiateAuthRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.