@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.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
public void setComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
componentVersionList
- The list of component semantic versions. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
public ListComponentsResult withComponentVersionList(ComponentVersion... componentVersionList)
The list of component semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
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. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
public ListComponentsResult withComponentVersionList(Collection<ComponentVersion> componentVersionList)
The list of component semantic versions.
The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
componentVersionList
- The list of component semantic versions. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.
public void setNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String getNextToken()
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
public ListComponentsResult withNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String toString()
toString
in class Object
Object.toString()
public ListComponentsResult clone()