@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetComplianceDetailsByResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetComplianceDetailsByResourceRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceDetailsByResourceRequest |
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.
|
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 |
getResourceEvaluationId()
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
|
String |
getResourceId()
The ID of the Amazon Web Services resource for which you want compliance information.
|
String |
getResourceType()
The type of the Amazon Web Services resource for which you want compliance information.
|
int |
hashCode() |
void |
setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
|
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 |
setResourceEvaluationId(String resourceEvaluationId)
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
|
void |
setResourceId(String resourceId)
The ID of the Amazon Web Services resource for which you want compliance information.
|
void |
setResourceType(String resourceType)
The type of the Amazon Web Services resource for which you want compliance information.
|
String |
toString()
Returns a string representation of this object.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByResourceRequest |
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. |
GetComplianceDetailsByResourceRequest |
withResourceEvaluationId(String resourceEvaluationId)
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
|
GetComplianceDetailsByResourceRequest |
withResourceId(String resourceId)
The ID of the Amazon Web Services resource for which you want compliance information.
|
GetComplianceDetailsByResourceRequest |
withResourceType(String resourceType)
The type of the Amazon Web Services resource for which you want compliance information.
|
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, withSdkRequestTimeout
public GetComplianceDetailsByResourceRequest()
public void setResourceType(String resourceType)
The type of the Amazon Web Services resource for which you want compliance information.
resourceType
- The type of the Amazon Web Services resource for which you want compliance information.public String getResourceType()
The type of the Amazon Web Services resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceType(String resourceType)
The type of the Amazon Web Services resource for which you want compliance information.
resourceType
- The type of the Amazon Web Services resource for which you want compliance information.public void setResourceId(String resourceId)
The ID of the Amazon Web Services resource for which you want compliance information.
resourceId
- The ID of the Amazon Web Services resource for which you want compliance information.public String getResourceId()
The ID of the Amazon Web Services resource for which you want compliance information.
public GetComplianceDetailsByResourceRequest withResourceId(String resourceId)
The ID of the Amazon Web Services resource for which you want compliance information.
resourceId
- The ID of the Amazon Web Services resource for which you want compliance information.public List<String> getComplianceTypes()
Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule cannot
be evaluated. However, INSUFFICIENT_DATA
cannot be used as a ComplianceType
for
filtering results.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config
rule cannot be evaluated. However, INSUFFICIENT_DATA
cannot be used as a
ComplianceType
for filtering results.
ComplianceType
public void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule cannot
be evaluated. However, INSUFFICIENT_DATA
cannot be used as a ComplianceType
for
filtering results.
complianceTypes
- Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule
cannot be evaluated. However, INSUFFICIENT_DATA
cannot be used as a
ComplianceType
for filtering results.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule cannot
be evaluated. However, INSUFFICIENT_DATA
cannot be used as a ComplianceType
for
filtering results.
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.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule
cannot be evaluated. However, INSUFFICIENT_DATA
cannot be used as a
ComplianceType
for filtering results.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule cannot
be evaluated. However, INSUFFICIENT_DATA
cannot be used as a ComplianceType
for
filtering results.
complianceTypes
- Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule
cannot be evaluated. However, INSUFFICIENT_DATA
cannot be used as a
ComplianceType
for filtering results.
ComplianceType
public GetComplianceDetailsByResourceRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule cannot
be evaluated. However, INSUFFICIENT_DATA
cannot be used as a ComplianceType
for
filtering results.
complianceTypes
- Filters the results by compliance.
INSUFFICIENT_DATA
is a valid ComplianceType
that is returned when an Config rule
cannot be evaluated. However, INSUFFICIENT_DATA
cannot be used as a
ComplianceType
for filtering results.
ComplianceType
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 GetComplianceDetailsByResourceRequest 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 void setResourceEvaluationId(String resourceEvaluationId)
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
resourceEvaluationId
- The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
public String getResourceEvaluationId()
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
public GetComplianceDetailsByResourceRequest withResourceEvaluationId(String resourceEvaluationId)
The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
resourceEvaluationId
- The unique ID of Amazon Web Services resource execution for which you want to retrieve evaluation results.
You need to only provide either a ResourceEvaluationID
or a ResourceID
and
ResourceType
.
public String toString()
toString
in class Object
Object.toString()
public GetComplianceDetailsByResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()