@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 set of results.
|
List<PortfolioDetail> |
getPortfolioDetails()
Information about the portfolios.
|
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
void |
setPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
Information about the portfolios.
|
String |
toString()
Returns a string representation of this object.
|
ListPortfoliosResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
ListPortfoliosResult |
withPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
Information about the portfolios.
|
ListPortfoliosResult |
withPortfolioDetails(PortfolioDetail... portfolioDetails)
Information about the portfolios.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PortfolioDetail> getPortfolioDetails()
Information about the portfolios.
public void setPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
Information about the portfolios.
portfolioDetails
- Information about the portfolios.public ListPortfoliosResult withPortfolioDetails(PortfolioDetail... portfolioDetails)
Information about the portfolios.
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
- Information about the portfolios.public ListPortfoliosResult withPortfolioDetails(Collection<PortfolioDetail> portfolioDetails)
Information about the portfolios.
portfolioDetails
- Information about the portfolios.public void setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String getNextPageToken()
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
public ListPortfoliosResult withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results. If there are no additional results, this value is null.
nextPageToken
- The page token to use to retrieve the next set of results. If there are no additional results, this value
is null.public String toString()
toString
in class Object
Object.toString()
public ListPortfoliosResult clone()