@Generated(value="software.amazon.awssdk:codegen") public final class Participants extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Participants.Builder,Participants>
Describes the users or user groups.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Participants.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Participants.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<GroupMetadata> |
groups()
The list of user groups.
|
boolean |
hasGroups()
Returns true if the Groups property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasUsers()
Returns true if the Users 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<SdkField<?>> |
sdkFields() |
static Class<? extends Participants.Builder> |
serializableBuilderClass() |
Participants.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<UserMetadata> |
users()
The list of users.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasUsers()
public final List<UserMetadata> users()
The list of users.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUsers() to see if a value was sent in this field.
public final boolean hasGroups()
public final List<GroupMetadata> groups()
The list of user groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroups() to see if a value was sent in this field.
public Participants.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Participants.Builder,Participants>public static Participants.Builder builder()
public static Class<? extends Participants.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.