@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<ComponentVersion> |
getComponentVersionList()
The list of component semantic versions.
|
String |
getNextToken()
The next token used for paginated responses.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
|
void |
setNextToken(String nextToken)
The next token used for paginated responses.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
ListComponentsResult |
withComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
|
ListComponentsResult |
withComponentVersionList(ComponentVersion... componentVersionList)
The list of component semantic versions.
|
ListComponentsResult |
withNextToken(String nextToken)
The next token used for paginated responses.
|
ListComponentsResult |
withRequestId(String requestId)
The request ID that uniquely identifies this request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public String getRequestId()
The request ID that uniquely identifies this request.
public ListComponentsResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public List<ComponentVersion> getComponentVersionList()
The list of component semantic versions.
public void setComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
componentVersionList
- The list of component semantic versions.public ListComponentsResult withComponentVersionList(ComponentVersion... componentVersionList)
The list of component semantic versions.
NOTE: This method appends the values to the existing list (if any). Use
setComponentVersionList(java.util.Collection)
or withComponentVersionList(java.util.Collection)
if you want to override the existing values.
componentVersionList
- The list of component semantic versions.public ListComponentsResult withComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
componentVersionList
- The list of component semantic versions.public void setNextToken(String nextToken)
The next token used for paginated responses. When this is not empty then there are additional elements that the service that not include in this request. Use this token with the next request to retrieve additional object.
nextToken
- The next token used for paginated responses. When this is not empty then there are additional elements
that the service that not include in this request. Use this token with the next request to retrieve
additional object.public String getNextToken()
The next token used for paginated responses. When this is not empty then there are additional elements that the service that not include in this request. Use this token with the next request to retrieve additional object.
public ListComponentsResult withNextToken(String nextToken)
The next token used for paginated responses. When this is not empty then there are additional elements that the service that not include in this request. Use this token with the next request to retrieve additional object.
nextToken
- The next token used for paginated responses. When this is not empty then there are additional elements
that the service that not include in this request. Use this token with the next request to retrieve
additional object.public String toString()
toString
in class Object
Object.toString()
public ListComponentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.