public void setEffect(String effect) {
        this.effect = effect;
    }
<p>
Determines whether the statement allows or denies access to the resource.
</p>

@param effect
       Determines whether the statement allows or denies access to the resource.
@see Effect
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/CreateResourcePolicyStatementRequest.java