public class DescribeComplianceByResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeComplianceByResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeComplianceByResourceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getComplianceTypes()
Filters the results by compliance.
|
Integer |
getLimit()
The maximum number of evaluation results returned on each page.
|
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 types of AWS resources for which you want compliance information; for
example,
AWS::EC2::Instance. |
int |
hashCode() |
void |
setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
|
void |
setLimit(Integer limit)
The maximum number of evaluation results returned on each page.
|
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 types of AWS resources for which you want compliance information; for
example,
AWS::EC2::Instance. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeComplianceByResourceRequest |
withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest |
withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
|
DescribeComplianceByResourceRequest |
withLimit(Integer limit)
The maximum number of evaluation results returned on each page.
|
DescribeComplianceByResourceRequest |
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. |
DescribeComplianceByResourceRequest |
withResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information.
|
DescribeComplianceByResourceRequest |
withResourceType(String resourceType)
The types of AWS resources for which you want compliance information; for
example,
AWS::EC2::Instance. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceType(String resourceType)
The types of AWS resources for which you want compliance information; for
example, AWS::EC2::Instance. For this action, you can
specify that the resource type is an AWS account by specifying
AWS::::Account.
resourceType - The types of AWS resources for which you want compliance
information; for example, AWS::EC2::Instance. For
this action, you can specify that the resource type is an AWS
account by specifying AWS::::Account.public String getResourceType()
The types of AWS resources for which you want compliance information; for
example, AWS::EC2::Instance. For this action, you can
specify that the resource type is an AWS account by specifying
AWS::::Account.
AWS::EC2::Instance. For
this action, you can specify that the resource type is an AWS
account by specifying AWS::::Account.public DescribeComplianceByResourceRequest withResourceType(String resourceType)
The types of AWS resources for which you want compliance information; for
example, AWS::EC2::Instance. For this action, you can
specify that the resource type is an AWS account by specifying
AWS::::Account.
resourceType - The types of AWS resources for which you want compliance
information; for example, AWS::EC2::Instance. For
this action, you can specify that the resource type is an AWS
account by specifying AWS::::Account.public void setResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information. You
can specify only one resource ID. If you specify a resource ID, you must
also specify a type for ResourceType.
resourceId - The ID of the AWS resource for which you want compliance
information. You can specify only one resource ID. If you specify
a resource ID, you must also specify a type for
ResourceType.public String getResourceId()
The ID of the AWS resource for which you want compliance information. You
can specify only one resource ID. If you specify a resource ID, you must
also specify a type for ResourceType.
ResourceType.public DescribeComplianceByResourceRequest withResourceId(String resourceId)
The ID of the AWS resource for which you want compliance information. You
can specify only one resource ID. If you specify a resource ID, you must
also specify a type for ResourceType.
resourceId - The ID of the AWS resource for which you want compliance
information. You can specify only one resource ID. If you specify
a resource ID, you must also specify a type for
ResourceType.public List<String> getComplianceTypes()
Filters the results by compliance. The valid values are
Compliant and NonCompliant.
Compliant and NonCompliant.ComplianceTypepublic void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance. The valid values are
Compliant and NonCompliant.
complianceTypes - Filters the results by compliance. The valid values are
Compliant and NonCompliant.ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance. The valid values are
Compliant and NonCompliant.
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 valid values are
Compliant and NonCompliant.ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance. The valid values are
Compliant and NonCompliant.
complianceTypes - Filters the results by compliance. The valid values are
Compliant and NonCompliant.ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance. The valid values are
Compliant and NonCompliant.
complianceTypes - Filters the results by compliance. The valid values are
Compliant and NonCompliant.ComplianceTypepublic void setLimit(Integer limit)
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
limit - The maximum number of evaluation results returned on each page.
The default is 10. You cannot specify a limit greater than 100. If
you specify 0, AWS Config uses the default.public Integer getLimit()
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
public DescribeComplianceByResourceRequest withLimit(Integer limit)
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
limit - The maximum number of evaluation results returned on each page.
The default is 10. You cannot specify a limit greater than 100. If
you specify 0, AWS Config uses the default.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 DescribeComplianceByResourceRequest 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 DescribeComplianceByResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.