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