public ResourceSpecificResult withMatchedStatements(java.util.Collection<Statement> matchedStatements) {
        setMatchedStatements(matchedStatements);
        return this;
    }
<p>
A list of the statements in the input policies that determine the result for this part of the simulation.
Remember that even if multiple statements allow the operation on the resource, if <i>any</i> statement denies
that operation, then the explicit deny overrides any allow. In addition, the deny statement is the only entry
included in the result.
</p>

@param matchedStatements
       A list of the statements in the input policies that determine the result for this part of the simulation.
       Remember that even if multiple statements allow the operation on the resource, if <i>any</i> statement
       denies that operation, then the explicit deny overrides any allow. In addition, the deny statement is the
       only entry included in the result.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ResourceSpecificResult.java