Class DescribeComplianceByConfigRuleResult
- java.lang.Object
-
- com.amazonaws.services.config.model.DescribeComplianceByConfigRuleResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeComplianceByConfigRuleResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeComplianceByConfigRuleResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeComplianceByConfigRuleResult
clone()
boolean
equals(Object obj)
List<ComplianceByConfigRule>
getComplianceByConfigRules()
Indicates whether each of the specified AWS Config rules is compliant.String
getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.int
hashCode()
void
setComplianceByConfigRules(Collection<ComplianceByConfigRule> complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.void
setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeComplianceByConfigRuleResult
withComplianceByConfigRules(ComplianceByConfigRule... complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.DescribeComplianceByConfigRuleResult
withComplianceByConfigRules(Collection<ComplianceByConfigRule> complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.DescribeComplianceByConfigRuleResult
withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
-
-
-
Method Detail
-
getComplianceByConfigRules
public List<ComplianceByConfigRule> getComplianceByConfigRules()
Indicates whether each of the specified AWS Config rules is compliant.
- Returns:
- Indicates whether each of the specified AWS Config rules is compliant.
-
setComplianceByConfigRules
public void setComplianceByConfigRules(Collection<ComplianceByConfigRule> complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.
- Parameters:
complianceByConfigRules
- Indicates whether each of the specified AWS Config rules is compliant.
-
withComplianceByConfigRules
public DescribeComplianceByConfigRuleResult withComplianceByConfigRules(ComplianceByConfigRule... complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.
NOTE: This method appends the values to the existing list (if any). Use
setComplianceByConfigRules(java.util.Collection)
orwithComplianceByConfigRules(java.util.Collection)
if you want to override the existing values.- Parameters:
complianceByConfigRules
- Indicates whether each of the specified AWS Config rules is compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withComplianceByConfigRules
public DescribeComplianceByConfigRuleResult withComplianceByConfigRules(Collection<ComplianceByConfigRule> complianceByConfigRules)
Indicates whether each of the specified AWS Config rules is compliant.
- Parameters:
complianceByConfigRules
- Indicates whether each of the specified AWS Config rules is compliant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Parameters:
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Returns:
- The string that you use in a subsequent request to get the next page of results in a paginated response.
-
withNextToken
public DescribeComplianceByConfigRuleResult withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Parameters:
nextToken
- The string that you use in a subsequent request 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeComplianceByConfigRuleResult clone()
-
-