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:
  • Constructor Details

    • DescribeComplianceByResourceResult

      public DescribeComplianceByResourceResult()
  • Method Details

    • 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) or withComplianceByResources(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object