@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePortfolioResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribePortfolioResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribePortfolioResult |
clone() |
boolean |
equals(Object obj) |
PortfolioDetail |
getPortfolioDetail()
Detailed portfolio information.
|
List<Tag> |
getTags()
Tags associated with the portfolio.
|
int |
hashCode() |
void |
setPortfolioDetail(PortfolioDetail portfolioDetail)
Detailed portfolio information.
|
void |
setTags(Collection<Tag> tags)
Tags associated with the portfolio.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribePortfolioResult |
withPortfolioDetail(PortfolioDetail portfolioDetail)
Detailed portfolio information.
|
DescribePortfolioResult |
withTags(Collection<Tag> tags)
Tags associated with the portfolio.
|
DescribePortfolioResult |
withTags(Tag... tags)
Tags associated with the portfolio.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPortfolioDetail(PortfolioDetail portfolioDetail)
Detailed portfolio information.
portfolioDetail - Detailed portfolio information.public PortfolioDetail getPortfolioDetail()
Detailed portfolio information.
public DescribePortfolioResult withPortfolioDetail(PortfolioDetail portfolioDetail)
Detailed portfolio information.
portfolioDetail - Detailed portfolio information.public List<Tag> getTags()
Tags associated with the portfolio.
public void setTags(Collection<Tag> tags)
Tags associated with the portfolio.
tags - Tags associated with the portfolio.public DescribePortfolioResult withTags(Tag... tags)
Tags associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - Tags associated with the portfolio.public DescribePortfolioResult withTags(Collection<Tag> tags)
Tags associated with the portfolio.
tags - Tags associated with the portfolio.public String toString()
toString in class ObjectObject.toString()public DescribePortfolioResult clone()
Copyright © 2017. All rights reserved.