Class GetComplianceDetailsByResourceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.GetComplianceDetailsByResourceRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class GetComplianceDetailsByResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetComplianceDetailsByResourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetComplianceDetailsByResourceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getComplianceTypes()Filters the results by compliance.StringgetNextToken()ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.StringgetResourceId()The ID of the AWS resource for which you want compliance information.StringgetResourceType()The type of the AWS resource for which you want compliance information.inthashCode()voidsetComplianceTypes(Collection<String> complianceTypes)Filters the results by compliance.voidsetNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.voidsetResourceId(String resourceId)The ID of the AWS resource for which you want compliance information.voidsetResourceType(String resourceType)The type of the AWS resource for which you want compliance information.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetComplianceDetailsByResourceRequestwithComplianceTypes(ComplianceType... complianceTypes)Filters the results by compliance.GetComplianceDetailsByResourceRequestwithComplianceTypes(String... complianceTypes)Filters the results by compliance.GetComplianceDetailsByResourceRequestwithComplianceTypes(Collection<String> complianceTypes)Filters the results by compliance.GetComplianceDetailsByResourceRequestwithNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.GetComplianceDetailsByResourceRequestwithResourceId(String resourceId)The ID of the AWS resource for which you want compliance information.GetComplianceDetailsByResourceRequestwithResourceType(String resourceType)The type of the AWS resource for which you want compliance information.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setResourceType
public void setResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
- Parameters:
resourceType- The type of the AWS resource for which you want compliance information.
-
getResourceType
public String getResourceType()
The type of the AWS resource for which you want compliance information.
- Returns:
- The type of the AWS resource for which you want compliance information.
-
withResourceType
public GetComplianceDetailsByResourceRequest withResourceType(String resourceType)
The type of the AWS resource for which you want compliance information.
- Parameters:
resourceType- The type of the AWS resource for which you want compliance information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceId
public void setResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
- Parameters:
resourceId- The ID of the AWS resource for which you want compliance information.
-
getResourceId
public String getResourceId()
The ID of the AWS resource for which you want compliance information.
- Returns:
- The ID of the AWS resource for which you want compliance information.
-
withResourceId
public GetComplianceDetailsByResourceRequest withResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
- Parameters:
resourceId- The ID of the AWS resource for which you want compliance information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getComplianceTypes
public List<String> getComplianceTypes()
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Returns:
- Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE. - See Also:
ComplianceType
-
setComplianceTypes
public void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByResourceRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.NOTE: This method appends the values to the existing list (if any). Use
setComplianceTypes(java.util.Collection)orwithComplianceTypes(java.util.Collection)if you want to override the existing values.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
setNextToken
public void setNextToken(String nextToken)
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
withNextToken
public GetComplianceDetailsByResourceRequest withNextToken(String nextToken)
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetComplianceDetailsByResourceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-