public class ListArtifactsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the result of a list artifacts operation.
Modifier and Type | Field and Description |
---|---|
private java.util.List<Artifact> |
artifacts
Information about the artifacts.
|
private java.lang.String |
nextToken
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
Constructor and Description |
---|
ListArtifactsResult() |
Modifier and Type | Method and Description |
---|---|
ListArtifactsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Artifact> |
getArtifacts()
Information about the artifacts.
|
java.lang.String |
getNextToken()
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
int |
hashCode() |
void |
setArtifacts(java.util.Collection<Artifact> artifacts)
Information about the artifacts.
|
void |
setNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListArtifactsResult |
withArtifacts(Artifact... artifacts)
Information about the artifacts.
|
ListArtifactsResult |
withArtifacts(java.util.Collection<Artifact> artifacts)
Information about the artifacts.
|
ListArtifactsResult |
withNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is
an identifier that is also returned, which can be used in a subsequent
call to this operation to return the next set of items in the list.
|
private java.util.List<Artifact> artifacts
Information about the artifacts.
private java.lang.String nextToken
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public java.util.List<Artifact> getArtifacts()
Information about the artifacts.
public void setArtifacts(java.util.Collection<Artifact> artifacts)
Information about the artifacts.
artifacts
- Information about the artifacts.public ListArtifactsResult withArtifacts(Artifact... artifacts)
Information about the 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
- Information about the artifacts.public ListArtifactsResult withArtifacts(java.util.Collection<Artifact> artifacts)
Information about the artifacts.
artifacts
- Information about the artifacts.public void setNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large,
this is an identifier that is also returned, which can be used in
a subsequent call to this operation to return the next set of
items in the list.public java.lang.String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListArtifactsResult withNextToken(java.lang.String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large,
this is an identifier that is also returned, which can be used in
a subsequent call to this operation to return the next set of
items in the list.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListArtifactsResult clone()
clone
in class java.lang.Object