public class ExplicitDeny
extends java.lang.Object
implements java.io.Serializable
Information that explicitly denies authorization.
| Constructor and Description |
|---|
ExplicitDeny() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Policy> |
getPolicies()
The policies that denied the authorization.
|
int |
hashCode() |
void |
setPolicies(java.util.Collection<Policy> policies)
The policies that denied the authorization.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ExplicitDeny |
withPolicies(java.util.Collection<Policy> policies)
The policies that denied the authorization.
|
ExplicitDeny |
withPolicies(Policy... policies)
The policies that denied the authorization.
|
public java.util.List<Policy> getPolicies()
The policies that denied the authorization.
The policies that denied the authorization.
public void setPolicies(java.util.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.
Returns a reference to this object so that method calls can be chained together.
policies - The policies that denied the authorization.
public ExplicitDeny withPolicies(java.util.Collection<Policy> policies)
The policies that denied the authorization.
Returns a reference to this object so that method calls can be chained together.
policies - The policies that denied the authorization.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.