@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLicenseVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLicenseVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListLicenseVersionsResult |
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.
|
ListLicenseVersionsResult |
withLicenses(Collection<License> licenses)
License details.
|
ListLicenseVersionsResult |
withLicenses(License... licenses)
License details.
|
ListLicenseVersionsResult |
withNextToken(String nextToken)
Token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLicenses(Collection<License> licenses)
License details.
licenses
- License details.public ListLicenseVersionsResult 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 ListLicenseVersionsResult 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 ListLicenseVersionsResult 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 ListLicenseVersionsResult clone()