public class ImplicitDeny
extends java.lang.Object
implements java.io.Serializable
Information that implicitly denies authorization. When policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
Constructor and Description |
---|
ImplicitDeny() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Policy> |
getPolicies()
Policies that don't contain a matching allow or deny statement for the
specified action on the specified resource.
|
int |
hashCode() |
void |
setPolicies(java.util.Collection<Policy> policies)
Policies that don't contain a matching allow or deny statement for the
specified action on the specified resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImplicitDeny |
withPolicies(java.util.Collection<Policy> policies)
Policies that don't contain a matching allow or deny statement for the
specified action on the specified resource.
|
ImplicitDeny |
withPolicies(Policy... policies)
Policies that don't contain a matching allow or deny statement for the
specified action on the specified resource.
|
public java.util.List<Policy> getPolicies()
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
public void setPolicies(java.util.Collection<Policy> policies)
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
policies
- Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
public ImplicitDeny withPolicies(Policy... policies)
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
Returns a reference to this object so that method calls can be chained together.
policies
- Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
public ImplicitDeny withPolicies(java.util.Collection<Policy> policies)
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
Returns a reference to this object so that method calls can be chained together.
policies
- Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
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.