@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExplicitDeny extends Object implements Serializable, Cloneable, StructuredPojo
Information that explicitly denies authorization.
Constructor and Description |
---|
ExplicitDeny() |
Modifier and Type | Method and Description |
---|---|
ExplicitDeny |
clone() |
boolean |
equals(Object obj) |
List<Policy> |
getPolicies()
The policies that denied the authorization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicies(Collection<Policy> policies)
The policies that denied the authorization.
|
String |
toString()
Returns a string representation of this object.
|
ExplicitDeny |
withPolicies(Collection<Policy> policies)
The policies that denied the authorization.
|
ExplicitDeny |
withPolicies(Policy... policies)
The policies that denied the authorization.
|
public List<Policy> getPolicies()
The policies that denied the authorization.
public void setPolicies(Collection<Policy> policies)
The policies that denied the authorization.
policies
- The policies that denied the authorization.public ExplicitDeny withPolicies(Policy... policies)
The policies that denied the authorization.
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
- The policies that denied the authorization.public ExplicitDeny withPolicies(Collection<Policy> policies)
The policies that denied the authorization.
policies
- The policies that denied the authorization.public String toString()
toString
in class Object
Object.toString()
public ExplicitDeny clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.