public GetAttachedFileResult withAssociatedResourceArn(String associatedResourceArn) {
        setAssociatedResourceArn(associatedResourceArn);
        return this;
    }
<p>
The resource to which the attached file is (being) uploaded to. <a
href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a> are
the only current supported resource.
</p>

@param associatedResourceArn
       The resource to which the attached file is (being) uploaded to. <a
       href="https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html">Cases</a>
       are the only current supported resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetAttachedFileResult.java