Class ListArtifactsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.devicefarm.model.ListArtifactsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListArtifactsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to the list artifacts operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListArtifactsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListArtifactsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetArn()The Run, Job, Suite, or Test ARN.StringgetNextToken()An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.StringgetType()The artifacts' type.inthashCode()voidsetArn(String arn)The Run, Job, Suite, or Test ARN.voidsetNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.voidsetType(ArtifactCategory type)The artifacts' type.voidsetType(String type)The artifacts' type.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListArtifactsRequestwithArn(String arn)The Run, Job, Suite, or Test ARN.ListArtifactsRequestwithNextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.ListArtifactsRequestwithType(ArtifactCategory type)The artifacts' type.ListArtifactsRequestwithType(String type)The artifacts' type.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
The Run, Job, Suite, or Test ARN.
- Parameters:
arn- The Run, Job, Suite, or Test ARN.
-
getArn
public String getArn()
The Run, Job, Suite, or Test ARN.
- Returns:
- The Run, Job, Suite, or Test ARN.
-
withArn
public ListArtifactsRequest withArn(String arn)
The Run, Job, Suite, or Test ARN.
- Parameters:
arn- The Run, Job, Suite, or Test ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
public void setType(String type)
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Parameters:
type- The artifacts' type.Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- See Also:
ArtifactCategory
-
getType
public String getType()
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Returns:
- The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- See Also:
ArtifactCategory
-
withType
public ListArtifactsRequest withType(String type)
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Parameters:
type- The artifacts' type.Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactCategory
-
setType
public void setType(ArtifactCategory type)
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Parameters:
type- The artifacts' type.Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- See Also:
ArtifactCategory
-
withType
public ListArtifactsRequest withType(ArtifactCategory type)
The artifacts' type.
Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Parameters:
type- The artifacts' type.Allowed values include:
- FILE: The artifacts are files.
- LOG: The artifacts are logs.
- SCREENSHOT: The artifacts are screenshots.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ArtifactCategory
-
setNextToken
public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
getNextToken
public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Returns:
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
-
withNextToken
public ListArtifactsRequest withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used 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 ListArtifactsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-