@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceScanRelatedResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListResourceScanRelatedResourcesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListResourceScanRelatedResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the request doesn't return all the remaining results,
NextToken is set to a token. |
List<ScannedResource> |
getRelatedResources()
List of up to
MaxResults resources in the specified resource scan related to the specified
resources. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
void |
setRelatedResources(Collection<ScannedResource> relatedResources)
List of up to
MaxResults resources in the specified resource scan related to the specified
resources. |
String |
toString()
Returns a string representation of this object.
|
ListResourceScanRelatedResourcesResult |
withNextToken(String nextToken)
If the request doesn't return all the remaining results,
NextToken is set to a token. |
ListResourceScanRelatedResourcesResult |
withRelatedResources(Collection<ScannedResource> relatedResources)
List of up to
MaxResults resources in the specified resource scan related to the specified
resources. |
ListResourceScanRelatedResourcesResult |
withRelatedResources(ScannedResource... relatedResources)
List of up to
MaxResults resources in the specified resource scan related to the specified
resources. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic ListResourceScanRelatedResourcesResult()
public List<ScannedResource> getRelatedResources()
List of up to MaxResults resources in the specified resource scan related to the specified
resources.
MaxResults resources in the specified resource scan related to the specified
resources.public void setRelatedResources(Collection<ScannedResource> relatedResources)
List of up to MaxResults resources in the specified resource scan related to the specified
resources.
relatedResources - List of up to MaxResults resources in the specified resource scan related to the specified
resources.public ListResourceScanRelatedResourcesResult withRelatedResources(ScannedResource... relatedResources)
List of up to MaxResults resources in the specified resource scan related to the specified
resources.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedResources(java.util.Collection) or withRelatedResources(java.util.Collection) if you
want to override the existing values.
relatedResources - List of up to MaxResults resources in the specified resource scan related to the specified
resources.public ListResourceScanRelatedResourcesResult withRelatedResources(Collection<ScannedResource> relatedResources)
List of up to MaxResults resources in the specified resource scan related to the specified
resources.
relatedResources - List of up to MaxResults resources in the specified resource scan related to the specified
resources.public void setNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve
the next set of results, call ListResourceScanRelatedResources again and use that value for the
NextToken parameter. If the request returns all results, NextToken is set to an empty
string.
nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To
retrieve the next set of results, call ListResourceScanRelatedResources again and use that
value for the NextToken parameter. If the request returns all results, NextToken
is set to an empty string.public String getNextToken()
If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve
the next set of results, call ListResourceScanRelatedResources again and use that value for the
NextToken parameter. If the request returns all results, NextToken is set to an empty
string.
NextToken is set to a token. To
retrieve the next set of results, call ListResourceScanRelatedResources again and use that
value for the NextToken parameter. If the request returns all results,
NextToken is set to an empty string.public ListResourceScanRelatedResourcesResult withNextToken(String nextToken)
If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve
the next set of results, call ListResourceScanRelatedResources again and use that value for the
NextToken parameter. If the request returns all results, NextToken is set to an empty
string.
nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To
retrieve the next set of results, call ListResourceScanRelatedResources again and use that
value for the NextToken parameter. If the request returns all results, NextToken
is set to an empty string.public String toString()
toString in class ObjectObject.toString()public ListResourceScanRelatedResourcesResult clone()