@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()
The invitations for the network.
|
String |
getNextToken()
The pagination token that indicates the next set of results to retrieve.
|
int |
hashCode() |
void |
setInvitations(Collection<Invitation> invitations)
The invitations for the network.
|
void |
setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
ListInvitationsResult |
withInvitations(Collection<Invitation> invitations)
The invitations for the network.
|
ListInvitationsResult |
withInvitations(Invitation... invitations)
The invitations for the network.
|
ListInvitationsResult |
withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Invitation> getInvitations()
The invitations for the network.
public void setInvitations(Collection<Invitation> invitations)
The invitations for the network.
invitations
- The invitations for the network.public ListInvitationsResult withInvitations(Invitation... invitations)
The invitations for the network.
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
- The invitations for the network.public ListInvitationsResult withInvitations(Collection<Invitation> invitations)
The invitations for the network.
invitations
- The invitations for the network.public void setNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String getNextToken()
The pagination token that indicates the next set of results to retrieve.
public ListInvitationsResult withNextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
nextToken
- The pagination token that indicates the next set of results to retrieve.public String toString()
toString
in class Object
Object.toString()
public ListInvitationsResult clone()