public java.util.List<AwsIamInstanceProfileRole> getRoles() {
        return roles;
    }
<p>
The roles associated with the instance profile.
</p>

@return The roles associated with the instance profile.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsIamInstanceProfile.java