@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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 allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
The allowed values are COMPLIANT, NON_COMPLIANT, and
INSUFFICIENT_DATA.
ComplianceTypepublic void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
complianceTypes - Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and
INSUFFICIENT_DATA.
ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
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
INSUFFICIENT_DATA.
ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
complianceTypes - Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and
INSUFFICIENT_DATA.
ComplianceTypepublic DescribeComplianceByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
complianceTypes - Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and
INSUFFICIENT_DATA.
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.