public class Denied
extends java.lang.Object
implements java.io.Serializable
Contains information that denied the authorization.
Constructor and Description |
---|
Denied() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
ExplicitDeny |
getExplicitDeny()
Information that explicitly denies the authorization.
|
ImplicitDeny |
getImplicitDeny()
Information that implicitly denies the authorization.
|
int |
hashCode() |
void |
setExplicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
|
void |
setImplicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Denied |
withExplicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
|
Denied |
withImplicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization.
|
public ImplicitDeny getImplicitDeny()
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
public void setImplicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
implicitDeny
- Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
public Denied withImplicitDeny(ImplicitDeny implicitDeny)
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
Returns a reference to this object so that method calls can be chained together.
implicitDeny
- Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
public ExplicitDeny getExplicitDeny()
Information that explicitly denies the authorization.
Information that explicitly denies the authorization.
public void setExplicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
explicitDeny
- Information that explicitly denies the authorization.
public Denied withExplicitDeny(ExplicitDeny explicitDeny)
Information that explicitly denies the authorization.
Returns a reference to this object so that method calls can be chained together.
explicitDeny
- Information that explicitly denies the authorization.
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.