@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImplicitDeny extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
ImplicitDeny |
clone() |
boolean |
equals(Object obj) |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicies(Collection<Policy> policies)
Policies that don't contain a matching allow or deny statement for the specified action on the specified
resource.
|
String |
toString()
Returns a string representation of this object.
|
ImplicitDeny |
withPolicies(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 List<Policy> getPolicies()
Policies that don't contain a matching allow or deny statement for the specified action on the specified resource.
public void setPolicies(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.
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
- Policies that don't contain a matching allow or deny statement for the specified action on the specified
resource.public ImplicitDeny withPolicies(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 String toString()
toString
in class Object
Object.toString()
public ImplicitDeny clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.