@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TestAuthorizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TestAuthorizationResult() |
Modifier and Type | Method and Description |
---|---|
TestAuthorizationResult |
clone() |
boolean |
equals(Object obj) |
List<AuthResult> |
getAuthResults()
The authentication results.
|
int |
hashCode() |
void |
setAuthResults(Collection<AuthResult> authResults)
The authentication results.
|
String |
toString()
Returns a string representation of this object.
|
TestAuthorizationResult |
withAuthResults(AuthResult... authResults)
The authentication results.
|
TestAuthorizationResult |
withAuthResults(Collection<AuthResult> authResults)
The authentication results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AuthResult> getAuthResults()
The authentication results.
public void setAuthResults(Collection<AuthResult> authResults)
The authentication results.
authResults
- The authentication results.public TestAuthorizationResult withAuthResults(AuthResult... authResults)
The authentication results.
NOTE: This method appends the values to the existing list (if any). Use
setAuthResults(java.util.Collection)
or withAuthResults(java.util.Collection)
if you want to
override the existing values.
authResults
- The authentication results.public TestAuthorizationResult withAuthResults(Collection<AuthResult> authResults)
The authentication results.
authResults
- The authentication results.public String toString()
toString
in class Object
Object.toString()
public TestAuthorizationResult clone()