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 . |
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 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
.
ComplianceType
public 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
.
ComplianceType
public 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
.
ComplianceType
public 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
.
ComplianceType
public 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
.
ComplianceType
public 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 Object
Object.toString()
public DescribeComplianceByResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.