@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestIdentityProviderResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TestIdentityProviderResult() |
Modifier and Type | Method and Description |
---|---|
TestIdentityProviderResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
A message that indicates whether the test was successful or not.
|
String |
getResponse()
The response that is returned from your API Gateway or your Lambda function.
|
Integer |
getStatusCode()
The HTTP status code that is the response from your API Gateway or your Lambda function.
|
String |
getUrl()
The endpoint of the service used to authenticate a user.
|
int |
hashCode() |
void |
setMessage(String message)
A message that indicates whether the test was successful or not.
|
void |
setResponse(String response)
The response that is returned from your API Gateway or your Lambda function.
|
void |
setStatusCode(Integer statusCode)
The HTTP status code that is the response from your API Gateway or your Lambda function.
|
void |
setUrl(String url)
The endpoint of the service used to authenticate a user.
|
String |
toString()
Returns a string representation of this object.
|
TestIdentityProviderResult |
withMessage(String message)
A message that indicates whether the test was successful or not.
|
TestIdentityProviderResult |
withResponse(String response)
The response that is returned from your API Gateway or your Lambda function.
|
TestIdentityProviderResult |
withStatusCode(Integer statusCode)
The HTTP status code that is the response from your API Gateway or your Lambda function.
|
TestIdentityProviderResult |
withUrl(String url)
The endpoint of the service used to authenticate a user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResponse(String response)
The response that is returned from your API Gateway or your Lambda function.
response
- The response that is returned from your API Gateway or your Lambda function.public String getResponse()
The response that is returned from your API Gateway or your Lambda function.
public TestIdentityProviderResult withResponse(String response)
The response that is returned from your API Gateway or your Lambda function.
response
- The response that is returned from your API Gateway or your Lambda function.public void setStatusCode(Integer statusCode)
The HTTP status code that is the response from your API Gateway or your Lambda function.
statusCode
- The HTTP status code that is the response from your API Gateway or your Lambda function.public Integer getStatusCode()
The HTTP status code that is the response from your API Gateway or your Lambda function.
public TestIdentityProviderResult withStatusCode(Integer statusCode)
The HTTP status code that is the response from your API Gateway or your Lambda function.
statusCode
- The HTTP status code that is the response from your API Gateway or your Lambda function.public void setMessage(String message)
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
message
- A message that indicates whether the test was successful or not. If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
public String getMessage()
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
public TestIdentityProviderResult withMessage(String message)
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
message
- A message that indicates whether the test was successful or not. If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
public void setUrl(String url)
The endpoint of the service used to authenticate a user.
url
- The endpoint of the service used to authenticate a user.public String getUrl()
The endpoint of the service used to authenticate a user.
public TestIdentityProviderResult withUrl(String url)
The endpoint of the service used to authenticate a user.
url
- The endpoint of the service used to authenticate a user.public String toString()
toString
in class Object
Object.toString()
public TestIdentityProviderResult clone()