@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessLevelFilter extends Object implements Serializable, Cloneable, StructuredPojo
The access level to use to filter results.
Constructor and Description |
---|
AccessLevelFilter() |
Modifier and Type | Method and Description |
---|---|
AccessLevelFilter |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The access level.
|
String |
getValue()
The user to which the access level applies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKey(AccessLevelFilterKey key)
The access level.
|
void |
setKey(String key)
The access level.
|
void |
setValue(String value)
The user to which the access level applies.
|
String |
toString()
Returns a string representation of this object.
|
AccessLevelFilter |
withKey(AccessLevelFilterKey key)
The access level.
|
AccessLevelFilter |
withKey(String key)
The access level.
|
AccessLevelFilter |
withValue(String value)
The user to which the access level applies.
|
public void setKey(String 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.
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.
AccessLevelFilterKey
public String getKey()
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.
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.
AccessLevelFilterKey
public AccessLevelFilter withKey(String 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.
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.
AccessLevelFilterKey
public void setKey(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.
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.
AccessLevelFilterKey
public AccessLevelFilter withKey(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.
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.
AccessLevelFilterKey
public void setValue(String value)
The user to which the access level applies. The only supported value is self
.
value
- The user to which the access level applies. The only supported value is self
.public String getValue()
The user to which the access level applies. The only supported value is self
.
self
.public AccessLevelFilter withValue(String value)
The user to which the access level applies. The only supported value is self
.
value
- The user to which the access level applies. The only supported value is self
.public String toString()
toString
in class Object
Object.toString()
public AccessLevelFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.