@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPortalsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPortalsResult() |
Modifier and Type | Method and Description |
---|---|
ListPortalsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
List<PortalSummary> |
getPortalSummaries()
A list that summarizes each portal.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
void |
setPortalSummaries(Collection<PortalSummary> portalSummaries)
A list that summarizes each portal.
|
String |
toString()
Returns a string representation of this object.
|
ListPortalsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
ListPortalsResult |
withPortalSummaries(Collection<PortalSummary> portalSummaries)
A list that summarizes each portal.
|
ListPortalsResult |
withPortalSummaries(PortalSummary... portalSummaries)
A list that summarizes each portal.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PortalSummary> getPortalSummaries()
A list that summarizes each portal.
public void setPortalSummaries(Collection<PortalSummary> portalSummaries)
A list that summarizes each portal.
portalSummaries
- A list that summarizes each portal.public ListPortalsResult withPortalSummaries(PortalSummary... portalSummaries)
A list that summarizes each portal.
NOTE: This method appends the values to the existing list (if any). Use
setPortalSummaries(java.util.Collection)
or withPortalSummaries(java.util.Collection)
if you
want to override the existing values.
portalSummaries
- A list that summarizes each portal.public ListPortalsResult withPortalSummaries(Collection<PortalSummary> portalSummaries)
A list that summarizes each portal.
portalSummaries
- A list that summarizes each portal.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListPortalsResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListPortalsResult clone()