public class GetComplianceDetailsByResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetComplianceDetailsByResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetComplianceDetailsByResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getComplianceTypes()
Specify to filter the results by compliance.
|
String |
getNextToken()
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
String |
getResourceId()
The ID of the AWS resource for which you want compliance information.
|
String |
getResourceType()
The type of the AWS resource for which you want compliance information.
|
int |
hashCode() |
void |
setComplianceTypes(Collection<String> complianceTypes)
Specify to filter the results by compliance.
|
void |
setNextToken(String nextToken)
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
void |
setResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
|
void |
setResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(Collection<String> complianceTypes)
Specify to filter the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Specify to filter the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(String... complianceTypes)
Specify to filter the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withNextToken(String nextToken)
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
GetComplianceDetailsByResourceRequest |
withResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
|
GetComplianceDetailsByResourceRequest |
withResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic GetComplianceDetailsByResourceRequest()
public void setResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
resourceType - The type of the AWS resource for which you want compliance
information.public String getResourceType()
The type of the AWS resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
resourceType - The type of the AWS resource for which you want compliance
information.public void setResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
resourceId - The ID of the AWS resource for which you want compliance
information.public String getResourceId()
The ID of the AWS resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
resourceId - The ID of the AWS resource for which you want compliance
information.public List<String> getComplianceTypes()
Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.
Compliant, NonCompliant, and
NotApplicable.ComplianceTypepublic void setComplianceTypes(Collection<String> complianceTypes)
Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.
complianceTypes - Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.ComplianceTypepublic GetComplianceDetailsByResourceRequest withComplianceTypes(String... complianceTypes)
Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.
NOTE: This method appends the values to the existing list (if
any). Use setComplianceTypes(java.util.Collection) or
withComplianceTypes(java.util.Collection) if you want to
override the existing values.
complianceTypes - Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.ComplianceTypepublic GetComplianceDetailsByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.
complianceTypes - Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.ComplianceTypepublic GetComplianceDetailsByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.
complianceTypes - Specify to filter the results by compliance. The valid values are
Compliant, NonCompliant, and
NotApplicable.ComplianceTypepublic void setNextToken(String nextToken)
The nextToken string returned on a previous page that you
use to get the next page of results in a paginated response.
nextToken - The nextToken string returned on a previous page that
you use to get the next page of results in a paginated response.public String getNextToken()
The nextToken string returned on a previous page that you
use to get the next page of results in a paginated response.
nextToken string returned on a previous page
that you use to get the next page of results in a paginated
response.public GetComplianceDetailsByResourceRequest withNextToken(String nextToken)
The nextToken string returned on a previous page that you
use to get the next page of results in a paginated response.
nextToken - The nextToken string returned on a previous page that
you use to get the next page of results in a paginated response.public String toString()
toString in class ObjectObject.toString()public GetComplianceDetailsByResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.