@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()
The resulting detailed portfolio information.
|
List<Tag> |
getTags()
Tags successfully associated with the new portfolio.
|
int |
hashCode() |
void |
setPortfolioDetail(PortfolioDetail portfolioDetail)
The resulting detailed portfolio information.
|
void |
setTags(Collection<Tag> tags)
Tags successfully associated with the new portfolio.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePortfolioResult |
withPortfolioDetail(PortfolioDetail portfolioDetail)
The resulting detailed portfolio information.
|
CreatePortfolioResult |
withTags(Collection<Tag> tags)
Tags successfully associated with the new portfolio.
|
CreatePortfolioResult |
withTags(Tag... tags)
Tags successfully associated with the new portfolio.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPortfolioDetail(PortfolioDetail portfolioDetail)
The resulting detailed portfolio information.
portfolioDetail
- The resulting detailed portfolio information.public PortfolioDetail getPortfolioDetail()
The resulting detailed portfolio information.
public CreatePortfolioResult withPortfolioDetail(PortfolioDetail portfolioDetail)
The resulting detailed portfolio information.
portfolioDetail
- The resulting detailed portfolio information.public List<Tag> getTags()
Tags successfully associated with the new portfolio.
public void setTags(Collection<Tag> tags)
Tags successfully associated with the new portfolio.
tags
- Tags successfully associated with the new portfolio.public CreatePortfolioResult withTags(Tag... tags)
Tags successfully associated with the new 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 successfully associated with the new portfolio.public CreatePortfolioResult withTags(Collection<Tag> tags)
Tags successfully associated with the new portfolio.
tags
- Tags successfully associated with the new portfolio.public String toString()
toString
in class Object
Object.toString()
public CreatePortfolioResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.