@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPortfoliosResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPortfoliosResult() |
Modifier and Type | Method and Description |
---|---|
ListPortfoliosResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextPageToken()
The page token to use to retrieve the next page of results for this operation.
|
List<PortfolioDetail> |
getPortfolioDetails()
List of detailed portfolio information objects.
|
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation.
|
void |
setPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
List of detailed portfolio information objects.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPortfoliosResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation.
|
ListPortfoliosResult |
withPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
List of detailed portfolio information objects.
|
ListPortfoliosResult |
withPortfolioDetails(PortfolioDetail... portfolioDetails)
List of detailed portfolio information objects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PortfolioDetail> getPortfolioDetails()
List of detailed portfolio information objects.
public void setPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
List of detailed portfolio information objects.
portfolioDetails
- List of detailed portfolio information objects.public ListPortfoliosResult withPortfolioDetails(PortfolioDetail... portfolioDetails)
List of detailed portfolio information objects.
NOTE: This method appends the values to the existing list (if any). Use
setPortfolioDetails(java.util.Collection)
or withPortfolioDetails(java.util.Collection)
if you
want to override the existing values.
portfolioDetails
- List of detailed portfolio information objects.public ListPortfoliosResult withPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
List of detailed portfolio information objects.
portfolioDetails
- List of detailed portfolio information objects.public void setNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextPageToken
- The page token to use to retrieve the next page of results for this operation. If there are no more pages,
this value is null.public String getNextPageToken()
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public ListPortfoliosResult withNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextPageToken
- The page token to use to retrieve the next page of results for this operation. If there are no more pages,
this value is null.public String toString()
toString
in class Object
Object.toString()
public ListPortfoliosResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.