@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCisScansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCisScansResult() |
Modifier and Type | Method and Description |
---|---|
ListCisScansResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token from a previous request that's used to retrieve the next page of results.
|
List<CisScan> |
getScans()
The CIS scans.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
|
void |
setScans(Collection<CisScan> scans)
The CIS scans.
|
String |
toString()
Returns a string representation of this object.
|
ListCisScansResult |
withNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
|
ListCisScansResult |
withScans(CisScan... scans)
The CIS scans.
|
ListCisScansResult |
withScans(Collection<CisScan> scans)
The CIS scans.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
nextToken
- The pagination token from a previous request that's used to retrieve the next page of results.public String getNextToken()
The pagination token from a previous request that's used to retrieve the next page of results.
public ListCisScansResult withNextToken(String nextToken)
The pagination token from a previous request that's used to retrieve the next page of results.
nextToken
- The pagination token from a previous request that's used to retrieve the next page of results.public void setScans(Collection<CisScan> scans)
The CIS scans.
scans
- The CIS scans.public ListCisScansResult withScans(CisScan... scans)
The CIS scans.
NOTE: This method appends the values to the existing list (if any). Use
setScans(java.util.Collection)
or withScans(java.util.Collection)
if you want to override the
existing values.
scans
- The CIS scans.public ListCisScansResult withScans(Collection<CisScan> scans)
The CIS scans.
scans
- The CIS scans.public String toString()
toString
in class Object
Object.toString()
public ListCisScansResult clone()