@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListInvitationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListInvitationsResult() |
Modifier and Type | Method and Description |
---|---|
ListInvitationsResult |
clone() |
boolean |
equals(Object obj) |
List<Invitation> |
getInvitations()
A list of invitation descriptions.
|
String |
getNextToken()
Pagination parameter to be used on the next list operation to retrieve more items.
|
int |
hashCode() |
void |
setInvitations(Collection<Invitation> invitations)
A list of invitation descriptions.
|
void |
setNextToken(String nextToken)
Pagination parameter to be used on the next list operation to retrieve more items.
|
String |
toString()
Returns a string representation of this object.
|
ListInvitationsResult |
withInvitations(Collection<Invitation> invitations)
A list of invitation descriptions.
|
ListInvitationsResult |
withInvitations(Invitation... invitations)
A list of invitation descriptions.
|
ListInvitationsResult |
withNextToken(String nextToken)
Pagination parameter to be used on the next list operation to retrieve more items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Invitation> getInvitations()
A list of invitation descriptions.
public void setInvitations(Collection<Invitation> invitations)
A list of invitation descriptions.
invitations
- A list of invitation descriptions.public ListInvitationsResult withInvitations(Invitation... invitations)
A list of invitation descriptions.
NOTE: This method appends the values to the existing list (if any). Use
setInvitations(java.util.Collection)
or withInvitations(java.util.Collection)
if you want to
override the existing values.
invitations
- A list of invitation descriptions.public ListInvitationsResult withInvitations(Collection<Invitation> invitations)
A list of invitation descriptions.
invitations
- A list of invitation descriptions.public void setNextToken(String nextToken)
Pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- Pagination parameter to be used on the next list operation to retrieve more items.public String getNextToken()
Pagination parameter to be used on the next list operation to retrieve more items.
public ListInvitationsResult withNextToken(String nextToken)
Pagination parameter to be used on the next list operation to retrieve more items.
nextToken
- Pagination parameter to be used on the next list operation to retrieve more items.public String toString()
toString
in class Object
Object.toString()
public ListInvitationsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.