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