@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArtifactsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListArtifactsResult() |
Modifier and Type | Method and Description |
---|---|
ListArtifactsResult |
clone() |
boolean |
equals(Object obj) |
List<ArtifactSummary> |
getArtifactSummaries()
A list of artifacts and their properties.
|
String |
getNextToken()
A token for getting the next set of artifacts, if there are any.
|
int |
hashCode() |
void |
setArtifactSummaries(Collection<ArtifactSummary> artifactSummaries)
A list of artifacts and their properties.
|
void |
setNextToken(String nextToken)
A token for getting the next set of artifacts, if there are any.
|
String |
toString()
Returns a string representation of this object.
|
ListArtifactsResult |
withArtifactSummaries(ArtifactSummary... artifactSummaries)
A list of artifacts and their properties.
|
ListArtifactsResult |
withArtifactSummaries(Collection<ArtifactSummary> artifactSummaries)
A list of artifacts and their properties.
|
ListArtifactsResult |
withNextToken(String nextToken)
A token for getting the next set of artifacts, if there are any.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ArtifactSummary> getArtifactSummaries()
A list of artifacts and their properties.
public void setArtifactSummaries(Collection<ArtifactSummary> artifactSummaries)
A list of artifacts and their properties.
artifactSummaries
- A list of artifacts and their properties.public ListArtifactsResult withArtifactSummaries(ArtifactSummary... artifactSummaries)
A list of artifacts and their properties.
NOTE: This method appends the values to the existing list (if any). Use
setArtifactSummaries(java.util.Collection)
or withArtifactSummaries(java.util.Collection)
if
you want to override the existing values.
artifactSummaries
- A list of artifacts and their properties.public ListArtifactsResult withArtifactSummaries(Collection<ArtifactSummary> artifactSummaries)
A list of artifacts and their properties.
artifactSummaries
- A list of artifacts and their properties.public void setNextToken(String nextToken)
A token for getting the next set of artifacts, if there are any.
nextToken
- A token for getting the next set of artifacts, if there are any.public String getNextToken()
A token for getting the next set of artifacts, if there are any.
public ListArtifactsResult withNextToken(String nextToken)
A token for getting the next set of artifacts, if there are any.
nextToken
- A token for getting the next set of artifacts, if there are any.public String toString()
toString
in class Object
Object.toString()
public ListArtifactsResult clone()