@Generated(value="software.amazon.awssdk:codegen") public final class AccessLevelFilter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessLevelFilter.Builder,AccessLevelFilter>
The access level to use to filter results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AccessLevelFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AccessLevelFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AccessLevelFilterKey |
key()
The access level.
|
String |
keyAsString()
The access level.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessLevelFilter.Builder> |
serializableBuilderClass() |
AccessLevelFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The user to which the access level applies.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AccessLevelFilterKey key()
The access level.
Account - Filter results based on the account.
Role - Filter results based on the federated role of the specified user.
User - Filter results based on the specified user.
If the service returns an enum value that is not available in the current SDK version, key will return
AccessLevelFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
Account - Filter results based on the account.
Role - Filter results based on the federated role of the specified user.
User - Filter results based on the specified user.
AccessLevelFilterKeypublic final String keyAsString()
The access level.
Account - Filter results based on the account.
Role - Filter results based on the federated role of the specified user.
User - Filter results based on the specified user.
If the service returns an enum value that is not available in the current SDK version, key will return
AccessLevelFilterKey.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
keyAsString().
Account - Filter results based on the account.
Role - Filter results based on the federated role of the specified user.
User - Filter results based on the specified user.
AccessLevelFilterKeypublic final String value()
The user to which the access level applies. The only supported value is self.
self.public AccessLevelFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AccessLevelFilter.Builder,AccessLevelFilter>public static AccessLevelFilter.Builder builder()
public static Class<? extends AccessLevelFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.