Class DescribeComplianceByResourceResult
- java.lang.Object
-
- com.amazonaws.services.config.model.DescribeComplianceByResourceResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeComplianceByResourceResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeComplianceByResourceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeComplianceByResourceResult
clone()
boolean
equals(Object obj)
List<ComplianceByResource>
getComplianceByResources()
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.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
setComplianceByResources(Collection<ComplianceByResource> complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.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.DescribeComplianceByResourceResult
withComplianceByResources(ComplianceByResource... complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.DescribeComplianceByResourceResult
withComplianceByResources(Collection<ComplianceByResource> complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.DescribeComplianceByResourceResult
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
-
getComplianceByResources
public List<ComplianceByResource> getComplianceByResources()
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
- Returns:
- Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
-
setComplianceByResources
public void setComplianceByResources(Collection<ComplianceByResource> complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
- Parameters:
complianceByResources
- Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
-
withComplianceByResources
public DescribeComplianceByResourceResult withComplianceByResources(ComplianceByResource... complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
NOTE: This method appends the values to the existing list (if any). Use
setComplianceByResources(java.util.Collection)
orwithComplianceByResources(java.util.Collection)
if you want to override the existing values.- Parameters:
complianceByResources
- Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withComplianceByResources
public DescribeComplianceByResourceResult withComplianceByResources(Collection<ComplianceByResource> complianceByResources)
Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.
- Parameters:
complianceByResources
- Indicates whether the specified AWS resource complies with all of the AWS Config rules that evaluate it.- 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 DescribeComplianceByResourceResult 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 DescribeComplianceByResourceResult clone()
-
-