@Generated(value="software.amazon.awssdk:codegen") public final class ListInvitationsResponse extends Macie2Response implements ToCopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListInvitationsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListInvitationsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInvitations()
Returns true if the Invitations 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<Invitation> |
invitations()
An array of objects, one for each invitation that was received by the account.
|
String |
nextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListInvitationsResponse.Builder> |
serializableBuilderClass() |
ListInvitationsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasInvitations()
public List<Invitation> invitations()
An array of objects, one for each invitation that was received by the account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInvitations() to see if a value was sent in this field.
public String nextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListInvitationsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListInvitationsResponse.Builder,ListInvitationsResponse>toBuilder in class AwsResponsepublic static ListInvitationsResponse.Builder builder()
public static Class<? extends ListInvitationsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.