@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 page of results for this operation.
|
List<Principal> |
getPrincipals()
The IAM principals (users or roles) associated with the portfolio.
|
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation.
|
void |
setPrincipals(Collection<Principal> principals)
The IAM principals (users or roles) associated with the portfolio.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPrincipalsForPortfolioResult |
withNextPageToken(String nextPageToken)
The page token to use to retrieve the next page of results for this operation.
|
ListPrincipalsForPortfolioResult |
withPrincipals(Collection<Principal> principals)
The IAM principals (users or roles) associated with the portfolio.
|
ListPrincipalsForPortfolioResult |
withPrincipals(Principal... principals)
The IAM principals (users or roles) associated with the portfolio.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Principal> getPrincipals()
The IAM principals (users or roles) associated with the portfolio.
public void setPrincipals(Collection<Principal> principals)
The IAM principals (users or roles) associated with the portfolio.
principals - The IAM principals (users or roles) associated with the portfolio.public ListPrincipalsForPortfolioResult withPrincipals(Principal... principals)
The IAM principals (users or roles) 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 IAM principals (users or roles) associated with the portfolio.public ListPrincipalsForPortfolioResult withPrincipals(Collection<Principal> principals)
The IAM principals (users or roles) associated with the portfolio.
principals - The IAM principals (users or roles) associated with the portfolio.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 ListPrincipalsForPortfolioResult 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 ObjectObject.toString()public ListPrincipalsForPortfolioResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.