@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListComponentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListComponentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListComponentsResult |
clone() |
boolean |
equals(Object obj) |
List<ComponentSummary> |
getComponents()
An array of components with summary data.
|
String |
getNextToken()
A token that indicates the location of the next component in the array of components, after the current requested
list of components.
|
int |
hashCode() |
void |
setComponents(Collection<ComponentSummary> components)
An array of components with summary data.
|
void |
setNextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current requested
list of components.
|
String |
toString()
Returns a string representation of this object.
|
ListComponentsResult |
withComponents(Collection<ComponentSummary> components)
An array of components with summary data.
|
ListComponentsResult |
withComponents(ComponentSummary... components)
An array of components with summary data.
|
ListComponentsResult |
withNextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current requested
list of components.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ComponentSummary> getComponents()
An array of components with summary data.
public void setComponents(Collection<ComponentSummary> components)
An array of components with summary data.
components - An array of components with summary data.public ListComponentsResult withComponents(ComponentSummary... components)
An array of components with summary data.
NOTE: This method appends the values to the existing list (if any). Use
setComponents(java.util.Collection) or withComponents(java.util.Collection) if you want to
override the existing values.
components - An array of components with summary data.public ListComponentsResult withComponents(Collection<ComponentSummary> components)
An array of components with summary data.
components - An array of components with summary data.public void setNextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current requested list of components.
nextToken - A token that indicates the location of the next component in the array of components, after the current
requested list of components.public String getNextToken()
A token that indicates the location of the next component in the array of components, after the current requested list of components.
public ListComponentsResult withNextToken(String nextToken)
A token that indicates the location of the next component in the array of components, after the current requested list of components.
nextToken - A token that indicates the location of the next component in the array of components, after the current
requested list of components.public String toString()
toString in class ObjectObject.toString()public ListComponentsResult clone()