@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Allowed extends Object implements Serializable, Cloneable, StructuredPojo
Contains information that allowed the authorization.
Constructor and Description |
---|
Allowed() |
Modifier and Type | Method and Description |
---|---|
Allowed |
clone() |
boolean |
equals(Object obj) |
List<Policy> |
getPolicies()
A list of policies that allowed the authentication.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicies(Collection<Policy> policies)
A list of policies that allowed the authentication.
|
String |
toString()
Returns a string representation of this object.
|
Allowed |
withPolicies(Collection<Policy> policies)
A list of policies that allowed the authentication.
|
Allowed |
withPolicies(Policy... policies)
A list of policies that allowed the authentication.
|
public List<Policy> getPolicies()
A list of policies that allowed the authentication.
public void setPolicies(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.
NOTE: This method appends the values to the existing list (if any). Use
setPolicies(java.util.Collection)
or withPolicies(java.util.Collection)
if you want to override
the existing values.
policies
- A list of policies that allowed the authentication.public Allowed withPolicies(Collection<Policy> policies)
A list of policies that allowed the authentication.
policies
- A list of policies that allowed the authentication.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.