@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackagesForDomainResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for response parameters to ListPackagesForDomain
operation.
Constructor and Description |
---|
ListPackagesForDomainResult() |
Modifier and Type | Method and Description |
---|---|
ListPackagesForDomainResult |
clone() |
boolean |
equals(Object obj) |
List<DomainPackageDetails> |
getDomainPackageDetailsList()
List of
DomainPackageDetails objects. |
String |
getNextToken()
Pagination token that needs to be supplied to the next call to get the next page of results.
|
int |
hashCode() |
void |
setDomainPackageDetailsList(Collection<DomainPackageDetails> domainPackageDetailsList)
List of
DomainPackageDetails objects. |
void |
setNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListPackagesForDomainResult |
withDomainPackageDetailsList(Collection<DomainPackageDetails> domainPackageDetailsList)
List of
DomainPackageDetails objects. |
ListPackagesForDomainResult |
withDomainPackageDetailsList(DomainPackageDetails... domainPackageDetailsList)
List of
DomainPackageDetails objects. |
ListPackagesForDomainResult |
withNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainPackageDetails> getDomainPackageDetailsList()
List of DomainPackageDetails
objects.
DomainPackageDetails
objects.public void setDomainPackageDetailsList(Collection<DomainPackageDetails> domainPackageDetailsList)
List of DomainPackageDetails
objects.
domainPackageDetailsList
- List of DomainPackageDetails
objects.public ListPackagesForDomainResult withDomainPackageDetailsList(DomainPackageDetails... domainPackageDetailsList)
List of DomainPackageDetails
objects.
NOTE: This method appends the values to the existing list (if any). Use
setDomainPackageDetailsList(java.util.Collection)
or
withDomainPackageDetailsList(java.util.Collection)
if you want to override the existing values.
domainPackageDetailsList
- List of DomainPackageDetails
objects.public ListPackagesForDomainResult withDomainPackageDetailsList(Collection<DomainPackageDetails> domainPackageDetailsList)
List of DomainPackageDetails
objects.
domainPackageDetailsList
- List of DomainPackageDetails
objects.public void setNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results.
nextToken
- Pagination token that needs to be supplied to the next call to get the next page of results.public String getNextToken()
Pagination token that needs to be supplied to the next call to get the next page of results.
public ListPackagesForDomainResult withNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results.
nextToken
- Pagination token that needs to be supplied to the next call to get the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListPackagesForDomainResult clone()