@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRelatedResourcesForAuditFindingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRelatedResourcesForAuditFindingResult() |
Modifier and Type | Method and Description |
---|---|
ListRelatedResourcesForAuditFindingResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null for the first API call. |
List<RelatedResource> |
getRelatedResources()
The related resources.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null for the first API call. |
void |
setRelatedResources(Collection<RelatedResource> relatedResources)
The related resources.
|
String |
toString()
Returns a string representation of this object.
|
ListRelatedResourcesForAuditFindingResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null for the first API call. |
ListRelatedResourcesForAuditFindingResult |
withRelatedResources(Collection<RelatedResource> relatedResources)
The related resources.
|
ListRelatedResourcesForAuditFindingResult |
withRelatedResources(RelatedResource... relatedResources)
The related resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListRelatedResourcesForAuditFindingResult()
public List<RelatedResource> getRelatedResources()
The related resources.
public void setRelatedResources(Collection<RelatedResource> relatedResources)
The related resources.
relatedResources
- The related resources.public ListRelatedResourcesForAuditFindingResult withRelatedResources(RelatedResource... relatedResources)
The related 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
- The related resources.public ListRelatedResourcesForAuditFindingResult withRelatedResources(Collection<RelatedResource> relatedResources)
The related resources.
relatedResources
- The related resources.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
for the first API call.
nextToken
- A token that can be used to retrieve the next set of results, or null
for the first API call.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
for the first API call.
null
for the first API
call.public ListRelatedResourcesForAuditFindingResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
for the first API call.
nextToken
- A token that can be used to retrieve the next set of results, or null
for the first API call.public String toString()
toString
in class Object
Object.toString()
public ListRelatedResourcesForAuditFindingResult clone()