@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReceivedLicensesForOrganizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListReceivedLicensesForOrganizationResult() |
| Modifier and Type | Method and Description |
|---|---|
ListReceivedLicensesForOrganizationResult |
clone() |
boolean |
equals(Object obj) |
List<GrantedLicense> |
getLicenses()
Lists the licenses the organization has received.
|
String |
getNextToken()
Token for the next set of results.
|
int |
hashCode() |
void |
setLicenses(Collection<GrantedLicense> licenses)
Lists the licenses the organization has received.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListReceivedLicensesForOrganizationResult |
withLicenses(Collection<GrantedLicense> licenses)
Lists the licenses the organization has received.
|
ListReceivedLicensesForOrganizationResult |
withLicenses(GrantedLicense... licenses)
Lists the licenses the organization has received.
|
ListReceivedLicensesForOrganizationResult |
withNextToken(String nextToken)
Token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ListReceivedLicensesForOrganizationResult()
public List<GrantedLicense> getLicenses()
Lists the licenses the organization has received.
public void setLicenses(Collection<GrantedLicense> licenses)
Lists the licenses the organization has received.
licenses - Lists the licenses the organization has received.public ListReceivedLicensesForOrganizationResult withLicenses(GrantedLicense... licenses)
Lists the licenses the organization has received.
NOTE: This method appends the values to the existing list (if any). Use
setLicenses(java.util.Collection) or withLicenses(java.util.Collection) if you want to override
the existing values.
licenses - Lists the licenses the organization has received.public ListReceivedLicensesForOrganizationResult withLicenses(Collection<GrantedLicense> licenses)
Lists the licenses the organization has received.
licenses - Lists the licenses the organization has received.public void setNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public String getNextToken()
Token for the next set of results.
public ListReceivedLicensesForOrganizationResult withNextToken(String nextToken)
Token for the next set of results.
nextToken - Token for the next set of results.public String toString()
toString in class ObjectObject.toString()public ListReceivedLicensesForOrganizationResult clone()