@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePortfolioSharesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| DescribePortfolioSharesResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| DescribePortfolioSharesResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextPageToken()
 The page token to use to retrieve the next set of results. | 
| List<PortfolioShareDetail> | getPortfolioShareDetails()
 Summaries about each of the portfolio shares. | 
| int | hashCode() | 
| void | setNextPageToken(String nextPageToken)
 The page token to use to retrieve the next set of results. | 
| void | setPortfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)
 Summaries about each of the portfolio shares. | 
| String | toString()Returns a string representation of this object. | 
| DescribePortfolioSharesResult | withNextPageToken(String nextPageToken)
 The page token to use to retrieve the next set of results. | 
| DescribePortfolioSharesResult | withPortfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)
 Summaries about each of the portfolio shares. | 
| DescribePortfolioSharesResult | withPortfolioShareDetails(PortfolioShareDetail... portfolioShareDetails)
 Summaries about each of the portfolio shares. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 DescribePortfolioSharesResult 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 List<PortfolioShareDetail> getPortfolioShareDetails()
Summaries about each of the portfolio shares.
public void setPortfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)
Summaries about each of the portfolio shares.
portfolioShareDetails - Summaries about each of the portfolio shares.public DescribePortfolioSharesResult withPortfolioShareDetails(PortfolioShareDetail... portfolioShareDetails)
Summaries about each of the portfolio shares.
 NOTE: This method appends the values to the existing list (if any). Use
 setPortfolioShareDetails(java.util.Collection) or
 withPortfolioShareDetails(java.util.Collection) if you want to override the existing values.
 
portfolioShareDetails - Summaries about each of the portfolio shares.public DescribePortfolioSharesResult withPortfolioShareDetails(Collection<PortfolioShareDetail> portfolioShareDetails)
Summaries about each of the portfolio shares.
portfolioShareDetails - Summaries about each of the portfolio shares.public String toString()
toString in class ObjectObject.toString()public DescribePortfolioSharesResult clone()