@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceScanRelatedResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListResourceScanRelatedResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
ListResourceScanRelatedResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
If the number of available results exceeds this maximum, the response includes a
NextToken value
that you can use for the NextToken parameter to get the next set of results. |
String |
getNextToken()
A string that identifies the next page of resource scan results.
|
List<ScannedResourceIdentifier> |
getResources()
The list of resources for which you want to get the related resources.
|
String |
getResourceScanId()
The Amazon Resource Name (ARN) of the resource scan.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
If the number of available results exceeds this maximum, the response includes a
NextToken value
that you can use for the NextToken parameter to get the next set of results. |
void |
setNextToken(String nextToken)
A string that identifies the next page of resource scan results.
|
void |
setResources(Collection<ScannedResourceIdentifier> resources)
The list of resources for which you want to get the related resources.
|
void |
setResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceScanRelatedResourcesRequest |
withMaxResults(Integer maxResults)
If the number of available results exceeds this maximum, the response includes a
NextToken value
that you can use for the NextToken parameter to get the next set of results. |
ListResourceScanRelatedResourcesRequest |
withNextToken(String nextToken)
A string that identifies the next page of resource scan results.
|
ListResourceScanRelatedResourcesRequest |
withResources(Collection<ScannedResourceIdentifier> resources)
The list of resources for which you want to get the related resources.
|
ListResourceScanRelatedResourcesRequest |
withResources(ScannedResourceIdentifier... resources)
The list of resources for which you want to get the related resources.
|
ListResourceScanRelatedResourcesRequest |
withResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ListResourceScanRelatedResourcesRequest()
public void setResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
resourceScanId
- The Amazon Resource Name (ARN) of the resource scan.public String getResourceScanId()
The Amazon Resource Name (ARN) of the resource scan.
public ListResourceScanRelatedResourcesRequest withResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
resourceScanId
- The Amazon Resource Name (ARN) of the resource scan.public List<ScannedResourceIdentifier> getResources()
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
public void setResources(Collection<ScannedResourceIdentifier> resources)
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
resources
- The list of resources for which you want to get the related resources. Up to 100 resources can be
provided.public ListResourceScanRelatedResourcesRequest withResources(ScannedResourceIdentifier... resources)
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The list of resources for which you want to get the related resources. Up to 100 resources can be
provided.public ListResourceScanRelatedResourcesRequest withResources(Collection<ScannedResourceIdentifier> resources)
The list of resources for which you want to get the related resources. Up to 100 resources can be provided.
resources
- The list of resources for which you want to get the related resources. Up to 100 resources can be
provided.public void setNextToken(String nextToken)
A string that identifies the next page of resource scan results.
nextToken
- A string that identifies the next page of resource scan results.public String getNextToken()
A string that identifies the next page of resource scan results.
public ListResourceScanRelatedResourcesRequest withNextToken(String nextToken)
A string that identifies the next page of resource scan results.
nextToken
- A string that identifies the next page of resource scan results.public void setMaxResults(Integer maxResults)
If the number of available results exceeds this maximum, the response includes a NextToken
value
that you can use for the NextToken
parameter to get the next set of results. By default the
ListResourceScanRelatedResources
API action will return up to 100 results in each response. The
maximum value is 100.
maxResults
- If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default
the ListResourceScanRelatedResources
API action will return up to 100 results in each
response. The maximum value is 100.public Integer getMaxResults()
If the number of available results exceeds this maximum, the response includes a NextToken
value
that you can use for the NextToken
parameter to get the next set of results. By default the
ListResourceScanRelatedResources
API action will return up to 100 results in each response. The
maximum value is 100.
NextToken
value that you can use for the NextToken
parameter to get the next set of results. By
default the ListResourceScanRelatedResources
API action will return up to 100 results in
each response. The maximum value is 100.public ListResourceScanRelatedResourcesRequest withMaxResults(Integer maxResults)
If the number of available results exceeds this maximum, the response includes a NextToken
value
that you can use for the NextToken
parameter to get the next set of results. By default the
ListResourceScanRelatedResources
API action will return up to 100 results in each response. The
maximum value is 100.
maxResults
- If the number of available results exceeds this maximum, the response includes a NextToken
value that you can use for the NextToken
parameter to get the next set of results. By default
the ListResourceScanRelatedResources
API action will return up to 100 results in each
response. The maximum value is 100.public String toString()
toString
in class Object
Object.toString()
public ListResourceScanRelatedResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()