@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<TagOptionDetail> |
getTagOptions()
TagOptions associated with the portfolio.
|
List<Tag> |
getTags()
Tags associated with the portfolio.
|
int |
hashCode() |
void |
setPortfolioDetail(PortfolioDetail portfolioDetail)
Detailed portfolio information.
|
void |
setTagOptions(Collection<TagOptionDetail> tagOptions)
TagOptions associated with the portfolio.
|
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 |
withTagOptions(Collection<TagOptionDetail> tagOptions)
TagOptions associated with the portfolio.
|
DescribePortfolioResult |
withTagOptions(TagOptionDetail... tagOptions)
TagOptions associated with the portfolio.
|
DescribePortfolioResult |
withTags(Collection<Tag> tags)
Tags associated with the portfolio.
|
DescribePortfolioResult |
withTags(Tag... tags)
Tags associated with the portfolio.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 List<TagOptionDetail> getTagOptions()
TagOptions associated with the portfolio.
public void setTagOptions(Collection<TagOptionDetail> tagOptions)
TagOptions associated with the portfolio.
tagOptions
- TagOptions associated with the portfolio.public DescribePortfolioResult withTagOptions(TagOptionDetail... tagOptions)
TagOptions associated with the portfolio.
NOTE: This method appends the values to the existing list (if any). Use
setTagOptions(java.util.Collection)
or withTagOptions(java.util.Collection)
if you want to
override the existing values.
tagOptions
- TagOptions associated with the portfolio.public DescribePortfolioResult withTagOptions(Collection<TagOptionDetail> tagOptions)
TagOptions associated with the portfolio.
tagOptions
- TagOptions associated with the portfolio.public String toString()
toString
in class Object
Object.toString()
public DescribePortfolioResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.