public ProfileDetail withManagedPolicyArns(java.util.Collection<String> managedPolicyArns) {
        setManagedPolicyArns(managedPolicyArns);
        return this;
    }
<p>
A list of managed policy ARNs that apply to the vended session credentials.
</p>

@param managedPolicyArns
       A list of managed policy ARNs that apply to the vended session credentials.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ProfileDetail.java