Class ListArtifactsResult
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ListArtifactsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListArtifactsResult extends Object implements Serializable, Cloneable
Represents the result of a list artifacts operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListArtifactsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListArtifactsResultclone()booleanequals(Object obj)List<Artifact>getArtifacts()Information about the artifacts.StringgetNextToken()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.inthashCode()voidsetArtifacts(Collection<Artifact> artifacts)Information about the artifacts.voidsetNextToken(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListArtifactsResultwithArtifacts(Artifact... artifacts)Information about the artifacts.ListArtifactsResultwithArtifacts(Collection<Artifact> artifacts)Information about the artifacts.ListArtifactsResultwithNextToken(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.
-
-
-
Method Detail
-
getArtifacts
public List<Artifact> getArtifacts()
Information about the artifacts.
- Returns:
- Information about the artifacts.
-
setArtifacts
public void setArtifacts(Collection<Artifact> artifacts)
Information about the artifacts.
- Parameters:
artifacts- Information about the artifacts.
-
withArtifacts
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)orwithArtifacts(java.util.Collection)if you want to override the existing values.- Parameters:
artifacts- Information about the artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withArtifacts
public ListArtifactsResult withArtifacts(Collection<Artifact> artifacts)
Information about the artifacts.
- Parameters:
artifacts- Information about the artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(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.
- Parameters:
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.
-
getNextToken
public 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.
- Returns:
- 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.
-
withNextToken
public ListArtifactsResult withNextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListArtifactsResult clone()
-
-