@Generated(value="software.amazon.awssdk:codegen") public final class Allowed extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Allowed.Builder,Allowed>
Contains information that allowed the authorization.
Modifier and Type | Class and Description |
---|---|
static interface |
Allowed.Builder |
Modifier and Type | Method and Description |
---|---|
static Allowed.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicies()
Returns true if the Policies property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<Policy> |
policies()
A list of policies that allowed the authentication.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Allowed.Builder> |
serializableBuilderClass() |
Allowed.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasPolicies()
public List<Policy> policies()
A list of policies that allowed the authentication.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicies()
to see if a value was sent in this field.
public Allowed.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Allowed.Builder,Allowed>
public static Allowed.Builder builder()
public static Class<? extends Allowed.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.