@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPrincipalsForPortfolioResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPrincipalsForPortfolioResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPrincipalsForPortfolioResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextPageToken()
The page token to use to retrieve the next set of results.
|
List<Principal> |
getPrincipals()
The
PrincipalARNs and corresponding PrincipalTypes associated with the portfolio. |
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
void |
setPrincipals(Collection<Principal> principals)
The
PrincipalARNs and corresponding PrincipalTypes associated with the portfolio. |
String |
toString()
Returns a string representation of this object.
|
ListPrincipalsForPortfolioResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next set of results.
|
ListPrincipalsForPortfolioResult |
withPrincipals(Collection<Principal> principals)
The
PrincipalARNs and corresponding PrincipalTypes associated with the portfolio. |
ListPrincipalsForPortfolioResult |
withPrincipals(Principal... principals)
The
PrincipalARNs and corresponding PrincipalTypes associated with the portfolio. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Principal> getPrincipals()
The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
PrincipalARNs and corresponding PrincipalTypes associated with the
portfolio.public void setPrincipals(Collection<Principal> principals)
The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
principals - The PrincipalARNs and corresponding PrincipalTypes associated with the
portfolio.public ListPrincipalsForPortfolioResult withPrincipals(Principal... principals)
The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setPrincipals(java.util.Collection) or withPrincipals(java.util.Collection) if you want to
override the existing values.
principals - The PrincipalARNs and corresponding PrincipalTypes associated with the
portfolio.public ListPrincipalsForPortfolioResult withPrincipals(Collection<Principal> principals)
The PrincipalARNs and corresponding PrincipalTypes associated with the portfolio.
principals - The PrincipalARNs and corresponding PrincipalTypes associated with the
portfolio.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 ListPrincipalsForPortfolioResult 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 ObjectObject.toString()public ListPrincipalsForPortfolioResult clone()
Copyright © 2024. All rights reserved.