public class Allowed
extends java.lang.Object
implements java.io.Serializable
Contains information that allowed the authorization.
Constructor and Description |
---|
Allowed() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Policy> |
getPolicies()
A list of policies that allowed the authentication.
|
int |
hashCode() |
void |
setPolicies(java.util.Collection<Policy> policies)
A list of policies that allowed the authentication.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Allowed |
withPolicies(java.util.Collection<Policy> policies)
A list of policies that allowed the authentication.
|
Allowed |
withPolicies(Policy... policies)
A list of policies that allowed the authentication.
|
public java.util.List<Policy> getPolicies()
A list of policies that allowed the authentication.
A list of policies that allowed the authentication.
public void setPolicies(java.util.Collection<Policy> policies)
A list of policies that allowed the authentication.
policies
- A list of policies that allowed the authentication.
public Allowed withPolicies(Policy... policies)
A list of policies that allowed the authentication.
Returns a reference to this object so that method calls can be chained together.
policies
- A list of policies that allowed the authentication.
public Allowed withPolicies(java.util.Collection<Policy> policies)
A list of policies that allowed the authentication.
Returns a reference to this object so that method calls can be chained together.
policies
- A list of policies that allowed the authentication.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.