public ProfileDetail withRoleArns(java.util.Collection<String> roleArns) {
        setRoleArns(roleArns);
        return this;
    }
<p>
A list of IAM roles that this profile can assume in a temporary credential request.
</p>

@param roleArns
       A list of IAM roles that this profile can assume in a temporary credential request.
@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