@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePortfolioResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreatePortfolioResult() |
| Modifier and Type | Method and Description |
|---|---|
CreatePortfolioResult |
clone() |
boolean |
equals(Object obj) |
PortfolioDetail |
getPortfolioDetail()
Information about the portfolio.
|
List<Tag> |
getTags()
Information about the tags associated with the portfolio.
|
int |
hashCode() |
void |
setPortfolioDetail(PortfolioDetail portfolioDetail)
Information about the portfolio.
|
void |
setTags(Collection<Tag> tags)
Information about the tags associated with the portfolio.
|
String |
toString()
Returns a string representation of this object.
|
CreatePortfolioResult |
withPortfolioDetail(PortfolioDetail portfolioDetail)
Information about the portfolio.
|
CreatePortfolioResult |
withTags(Collection<Tag> tags)
Information about the tags associated with the portfolio.
|
CreatePortfolioResult |
withTags(Tag... tags)
Information about the tags associated with the portfolio.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setPortfolioDetail(PortfolioDetail portfolioDetail)
Information about the portfolio.
portfolioDetail - Information about the portfolio.public PortfolioDetail getPortfolioDetail()
Information about the portfolio.
public CreatePortfolioResult withPortfolioDetail(PortfolioDetail portfolioDetail)
Information about the portfolio.
portfolioDetail - Information about the portfolio.public List<Tag> getTags()
Information about the tags associated with the portfolio.
public void setTags(Collection<Tag> tags)
Information about the tags associated with the portfolio.
tags - Information about the tags associated with the portfolio.public CreatePortfolioResult withTags(Tag... tags)
Information about the 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 - Information about the tags associated with the portfolio.public CreatePortfolioResult withTags(Collection<Tag> tags)
Information about the tags associated with the portfolio.
tags - Information about the tags associated with the portfolio.public String toString()
toString in class ObjectObject.toString()public CreatePortfolioResult clone()