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()
Filters 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)
Filters 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)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(String... complianceTypes)
Filters 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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public 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()
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
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
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public 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 Object
Object.toString()
public GetComplianceDetailsByResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.