Class PreviewAgentsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
You can use this parameter to indicate the maximum number of items you want in the response.You can use this parameter when paginating results.The ARN of the assessment target whose agents you want to preview.int
hashCode()
void
setMaxResults
(Integer maxResults) You can use this parameter to indicate the maximum number of items you want in the response.void
setNextToken
(String nextToken) You can use this parameter when paginating results.void
setPreviewAgentsArn
(String previewAgentsArn) The ARN of the assessment target whose agents you want to preview.toString()
Returns a string representation of this object; useful for testing and debugging.withMaxResults
(Integer maxResults) You can use this parameter to indicate the maximum number of items you want in the response.withNextToken
(String nextToken) You can use this parameter when paginating results.withPreviewAgentsArn
(String previewAgentsArn) The ARN of the assessment target whose agents you want to preview.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
-
Constructor Details
-
PreviewAgentsRequest
public PreviewAgentsRequest()
-
-
Method Details
-
setPreviewAgentsArn
The ARN of the assessment target whose agents you want to preview.
- Parameters:
previewAgentsArn
- The ARN of the assessment target whose agents you want to preview.
-
getPreviewAgentsArn
The ARN of the assessment target whose agents you want to preview.
- Returns:
- The ARN of the assessment target whose agents you want to preview.
-
withPreviewAgentsArn
The ARN of the assessment target whose agents you want to preview.
- Parameters:
previewAgentsArn
- The ARN of the assessment target whose agents you want to preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Parameters:
nextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
-
getNextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Returns:
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
-
withNextToken
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
- Parameters:
nextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the PreviewAgents action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Parameters:
maxResults
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
-
getMaxResults
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Returns:
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
-
withMaxResults
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
- Parameters:
maxResults
- You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-