public class GetComplianceDetailsByResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
complianceTypes
Filters the results by compliance.
|
private java.lang.String |
nextToken
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
private java.lang.String |
resourceId
The ID of the AWS resource for which you want compliance information.
|
private java.lang.String |
resourceType
The type of the AWS resource for which you want compliance information.
|
NOOP
Constructor and Description |
---|
GetComplianceDetailsByResourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceDetailsByResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getComplianceTypes()
Filters the results by compliance.
|
java.lang.String |
getNextToken()
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
java.lang.String |
getResourceId()
The ID of the AWS resource for which you want compliance information.
|
java.lang.String |
getResourceType()
The type of the AWS resource for which you want compliance information.
|
int |
hashCode() |
void |
setComplianceTypes(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
|
void |
setNextToken(java.lang.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(java.lang.String resourceId)
The ID of the AWS resource for which you want compliance information.
|
void |
setResourceType(java.lang.String resourceType)
The type of the AWS resource for which you want compliance information.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(java.lang.String... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withNextToken(java.lang.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(java.lang.String resourceId)
The ID of the AWS resource for which you want compliance information.
|
GetComplianceDetailsByResourceRequest |
withResourceType(java.lang.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
private java.lang.String resourceType
The type of the AWS resource for which you want compliance information.
private java.lang.String resourceId
The ID of the AWS resource for which you want compliance information.
private SdkInternalList<java.lang.String> complianceTypes
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
private java.lang.String nextToken
The nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.
public GetComplianceDetailsByResourceRequest()
public void setResourceType(java.lang.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 java.lang.String getResourceType()
The type of the AWS resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceType(java.lang.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(java.lang.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 java.lang.String getResourceId()
The ID of the AWS resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceId(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetComplianceDetailsByResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()