@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArtifactsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Result structure for the list artifacts request.
| Constructor and Description |
|---|
ListArtifactsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListArtifactsResult |
clone() |
boolean |
equals(Object obj) |
List<Artifact> |
getArtifacts()
List of artifacts.
|
String |
getNextToken()
Pagination token.
|
int |
hashCode() |
void |
setArtifacts(Collection<Artifact> artifacts)
List of artifacts.
|
void |
setNextToken(String nextToken)
Pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListArtifactsResult |
withArtifacts(Artifact... artifacts)
List of artifacts.
|
ListArtifactsResult |
withArtifacts(Collection<Artifact> artifacts)
List of artifacts.
|
ListArtifactsResult |
withNextToken(String nextToken)
Pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArtifacts(Collection<Artifact> artifacts)
List of artifacts.
artifacts - List of artifacts.public ListArtifactsResult withArtifacts(Artifact... artifacts)
List of artifacts.
NOTE: This method appends the values to the existing list (if any). Use
setArtifacts(java.util.Collection) or withArtifacts(java.util.Collection) if you want to
override the existing values.
artifacts - List of artifacts.public ListArtifactsResult withArtifacts(Collection<Artifact> artifacts)
List of artifacts.
artifacts - List of artifacts.public void setNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken - Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String getNextToken()
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
public ListArtifactsResult withNextToken(String nextToken)
Pagination token. If non-null pagination token is returned in a result, then pass its value in another request to fetch more entries.
nextToken - Pagination token. If non-null pagination token is returned in a result, then pass its value in another
request to fetch more entries.public String toString()
toString in class ObjectObject.toString()public ListArtifactsResult clone()
Copyright © 2019. All rights reserved.