@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReceivedLicensesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListReceivedLicensesResult() |
Modifier and Type | Method and Description |
---|---|
ListReceivedLicensesResult |
clone() |
boolean |
equals(Object obj) |
List<GrantedLicense> |
getLicenses()
Received license details.
|
String |
getNextToken()
Token for the next set of results.
|
int |
hashCode() |
void |
setLicenses(Collection<GrantedLicense> licenses)
Received license details.
|
void |
setNextToken(String nextToken)
Token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListReceivedLicensesResult |
withLicenses(Collection<GrantedLicense> licenses)
Received license details.
|
ListReceivedLicensesResult |
withLicenses(GrantedLicense... licenses)
Received license details.
|
ListReceivedLicensesResult |
withNextToken(String nextToken)
Token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GrantedLicense> getLicenses()
Received license details.
public void setLicenses(Collection<GrantedLicense> licenses)
Received license details.
licenses
- Received license details.public ListReceivedLicensesResult withLicenses(GrantedLicense... licenses)
Received license details.
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
- Received license details.public ListReceivedLicensesResult withLicenses(Collection<GrantedLicense> licenses)
Received license details.
licenses
- Received license details.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 ListReceivedLicensesResult withNextToken(String nextToken)
Token for the next set of results.
nextToken
- Token for the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListReceivedLicensesResult clone()