@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeConformancePacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeConformancePacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeConformancePacksResult |
clone() |
boolean |
equals(Object obj) |
List<ConformancePackDetail> |
getConformancePackDetails()
Returns a list of
ConformancePackDetail objects. |
String |
getNextToken()
The
nextToken string returned in a previous request that you use to request the next page of results
in a paginated response. |
int |
hashCode() |
void |
setConformancePackDetails(Collection<ConformancePackDetail> conformancePackDetails)
Returns a list of
ConformancePackDetail objects. |
void |
setNextToken(String nextToken)
The
nextToken string returned in a previous request that you use to request the next page of results
in a paginated response. |
String |
toString()
Returns a string representation of this object.
|
DescribeConformancePacksResult |
withConformancePackDetails(Collection<ConformancePackDetail> conformancePackDetails)
Returns a list of
ConformancePackDetail objects. |
DescribeConformancePacksResult |
withConformancePackDetails(ConformancePackDetail... conformancePackDetails)
Returns a list of
ConformancePackDetail objects. |
DescribeConformancePacksResult |
withNextToken(String nextToken)
The
nextToken string returned in a previous request that you use to request the next page of results
in a paginated response. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ConformancePackDetail> getConformancePackDetails()
Returns a list of ConformancePackDetail
objects.
ConformancePackDetail
objects.public void setConformancePackDetails(Collection<ConformancePackDetail> conformancePackDetails)
Returns a list of ConformancePackDetail
objects.
conformancePackDetails
- Returns a list of ConformancePackDetail
objects.public DescribeConformancePacksResult withConformancePackDetails(ConformancePackDetail... conformancePackDetails)
Returns a list of ConformancePackDetail
objects.
NOTE: This method appends the values to the existing list (if any). Use
setConformancePackDetails(java.util.Collection)
or
withConformancePackDetails(java.util.Collection)
if you want to override the existing values.
conformancePackDetails
- Returns a list of ConformancePackDetail
objects.public DescribeConformancePacksResult withConformancePackDetails(Collection<ConformancePackDetail> conformancePackDetails)
Returns a list of ConformancePackDetail
objects.
conformancePackDetails
- Returns a list of ConformancePackDetail
objects.public void setNextToken(String nextToken)
The nextToken
string returned in a previous request that you use to request the next page of results
in a paginated response.
nextToken
- The nextToken
string returned in a previous request that you use to request the next page of
results in a paginated response.public String getNextToken()
The nextToken
string returned in a previous request that you use to request the next page of results
in a paginated response.
nextToken
string returned in a previous request that you use to request the next page of
results in a paginated response.public DescribeConformancePacksResult withNextToken(String nextToken)
The nextToken
string returned in a previous request that you use to request the next page of results
in a paginated response.
nextToken
- The nextToken
string returned in a previous request that you use to request the next page of
results in a paginated response.public String toString()
toString
in class Object
Object.toString()
public DescribeConformancePacksResult clone()